/*
Theme Name: Melvin Property Theme
Theme URI: https://melvintanproperty.com
Author: Melvin Tan Property
Description: Custom WordPress theme for Melvin Tan Property, built for seller, landlord, HDB resale, listings, sold listings, new launches, and transaction case study SEO.
Version: 1.0.124
Text Domain: melvin-property
*/

:root {
  --red: #c9182b;
  --red-dark: #951424;
  --charcoal: #292d31;
  --ink: #151719;
  --muted: #6f7378;
  --paper: #fbfaf7;
  --warm: #f3eee6;
  --line: #ded8cc;
  --gold: #b9892d;
  --sage: #7a8c78;
  --blue: #4a6472;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(30, 28, 24, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 216, 204, 0.78);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
}

.brand > span:last-child {
  display: block;
}

.brand > span:last-child span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  color: #3e4246;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(201, 24, 43, 0.18);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  color: #3e4246;
  font-size: 0.92rem;
  font-weight: 700;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.button.secondary {
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 62px 0 40px;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 48%, rgba(243, 238, 230, 0.9) 100%),
    var(--warm);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.65rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #45494d;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.metric {
  padding: 18px;
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.74);
}

.metric b {
  display: block;
  color: var(--charcoal);
  font-size: 1.45rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.portrait-stage {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 16% 0 0;
  background: linear-gradient(145deg, var(--charcoal), #494033);
  clip-path: polygon(20% 8%, 100% 0, 84% 100%, 0 100%);
}

.portrait-photo {
  position: relative;
  z-index: 2;
  width: min(440px, 92%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--warm);
}

.section.dark {
  color: var(--white);
  background: var(--charcoal);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section.dark .section-heading p {
  color: #ccd0d1;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  display: block;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dark .card {
  color: #e8ecec;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.card .tag,
.pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.card p,
.entry-content p {
  color: var(--muted);
}

.dark .card p {
  color: #cfd4d4;
}

.case-card {
  border-left: 4px solid var(--red);
}

.case-card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.listing-card {
  padding: 0;
  overflow: hidden;
}

.listing-thumb {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--charcoal));
  font-weight: 900;
}

.listing-body {
  padding: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.4fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--white);
}

.contact-band p {
  margin: 10px 0 0;
  color: #ffecef;
}

.contact-page {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--paper);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.9fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.contact-form-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.contact-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-form-alert--success {
  color: #155724;
  background: #eaf6ed;
  border: 1px solid #bddfc4;
}

.contact-form-alert--error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.contact-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-card label {
  display: block;
  margin-bottom: 7px;
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form-card textarea {
  resize: vertical;
}

.site-footer {
  padding: 48px 0;
  color: #d5d8d8;
  background: #181b1e;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.archive-hero {
  padding: 76px 0 44px;
  background: var(--warm);
}

.content-wrap {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
  overflow-wrap: break-word;
}

.content-wrap h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.entry-content figure,
.entry-content .wp-block-image {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.entry-content .wp-block-button {
  max-width: 100%;
}

.entry-content .wp-block-button__link {
  max-width: 100%;
  height: auto;
  min-height: 44px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.single-post .page-shell > .wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.single-post .content-card {
  width: 100%;
  max-width: 100%;
}

.single-post .content-card > * {
  max-width: 100%;
}

.single-post .content-card .lead {
  width: 100%;
  max-width: 760px;
}

.single-post .wp-block-image,
.single-post figure {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-post img {
  display: block;
  max-width: 100%;
  height: auto;
}

.single-post .wp-block-button {
  max-width: 100%;
}

.single-post .wp-block-button__link {
  max-width: 100%;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.case-study-page {
  background: var(--paper);
}

.transaction-cases-page .section-heading h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.cases-index {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.cases-index-card {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.cases-index-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(135deg, var(--warm), #ffffff);
}

.cases-index-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.cases-index-card:hover .cases-index-thumb img {
  transform: scale(1.035);
}

.cases-index-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.cases-index-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cases-index-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.6vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cases-index-card p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.48;
}

.cases-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cases-index-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff0f2;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.cases-index-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.case-hero,
.case-result {
  position: relative;
  display: flex;
  min-height: calc(100vh - 76px);
  align-items: flex-end;
  padding: 80px 0 48px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.case-hero h1,
.case-result h2 {
  color: var(--white);
}

.case-hero .lead,
.case-result p {
  color: #f3eee6;
}

.case-hero-inner {
  width: min(1180px, calc(100% - 40px));
}

.case-hero h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: 38px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.case-facts div {
  min-height: 112px;
  padding: 22px;
  background: rgba(21, 23, 25, 0.54);
}

.case-facts b,
.case-facts span {
  display: block;
}

.case-facts b {
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1.1;
}

.case-facts span {
  margin-top: 8px;
  color: #e8ecec;
  font-size: 0.92rem;
}

.case-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.case-photo-grid figure,
.case-image-panel,
.case-wide-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--warm);
}

.case-photo-grid figure {
  aspect-ratio: 4 / 3;
}

.case-photo-grid figure:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.case-photo-grid img,
.case-image-panel img,
.case-wide-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.62fr);
  gap: 48px;
  align-items: center;
}

.case-split p {
  color: var(--muted);
  font-size: 1.04rem;
}

.case-image-panel {
  aspect-ratio: 4 / 5;
}

.strategy-grid {
  margin-bottom: 18px;
}

.case-wide-photo {
  aspect-ratio: 16 / 8;
}

.case-result {
  min-height: 620px;
  align-items: center;
}

.case-result-inner {
  max-width: 760px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.case-result strong {
  display: block;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.85;
}

.owner-lessons {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.85fr);
  gap: 48px;
}

.lesson-list {
  display: grid;
  gap: 18px;
}

.lesson-list div {
  padding: 26px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.lesson-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 900;
}

.lesson-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.seller-landing-body {
  background: var(--paper);
}

.seller-landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(222, 216, 204, 0.82);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(16px);
}

.seller-landing-header__inner,
.seller-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.seller-landing-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.seller-landing-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.seller-landing-brand strong,
.seller-landing-brand small {
  display: block;
  white-space: nowrap;
}

.seller-landing-brand strong {
  color: var(--charcoal);
  font-size: 1.04rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.seller-landing-brand small {
  display: none;
}

.seller-landing-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seller-header-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

.seller-landing-header .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.seller-hero {
  padding: clamp(50px, 8vw, 96px) 0 clamp(54px, 7vw, 88px);
  background:
    linear-gradient(120deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.96) 55%, rgba(243, 238, 230, 0.9) 100%),
    var(--warm);
}

.seller-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.seller-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 5.05rem);
}

.seller-lead,
.seller-section-copy {
  max-width: 720px;
  color: #45494d;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.65;
}

.seller-lead {
  margin: 22px 0 0;
}

.seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.seller-trust-row {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.selling-plan-card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(30, 28, 24, 0.12);
}

.selling-plan-card__label {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f2;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selling-plan-card h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.selling-plan-card dl {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.selling-plan-card dl div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.selling-plan-card dt {
  color: var(--charcoal);
  font-weight: 900;
}

.selling-plan-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.seller-card-call,
.seller-whatsapp-inline,
.seller-text-link {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seller-section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.seller-section--warm {
  background: var(--warm);
}

.seller-section--dark {
  color: var(--white);
  background: var(--charcoal);
}

.seller-section--dark h2,
.seller-section--dark h3 {
  color: var(--white);
}

.seller-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.seller-section-head--wide {
  max-width: 920px;
}

.seller-section-head h2,
.seller-split h2,
.seller-form-layout h2,
.seller-final-cta h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.seller-card-grid {
  display: grid;
  gap: 18px;
}

.seller-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-info-card,
.seller-testimonials blockquote,
.seller-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.seller-info-card {
  padding: clamp(22px, 3vw, 30px);
}

.seller-info-card p,
.seller-process-step p,
.seller-testimonials p,
.seller-faq p,
.seller-final-cta p {
  color: var(--muted);
}

.seller-process {
  display: grid;
  gap: 14px;
}

.seller-process-step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(222, 216, 204, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.seller-process-step span {
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.1;
}

.seller-process-step p {
  margin-bottom: 0;
}

.seller-split,
.seller-form-layout,
.seller-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.86fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.seller-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seller-feature-item {
  padding: 15px 16px;
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 900;
}

.seller-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.seller-proof-grid div {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.seller-proof-grid b,
.seller-proof-grid span {
  display: block;
}

.seller-proof-grid b {
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.2;
}

.seller-proof-grid span {
  margin-top: 10px;
  color: #d7dcdd;
  font-size: 0.92rem;
}

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

.seller-testimonials blockquote {
  margin: 0;
  padding: 24px;
}

.seller-testimonials p {
  margin-top: 0;
}

.seller-testimonials cite {
  display: block;
  color: var(--charcoal);
  font-style: normal;
  font-weight: 900;
}

.seller-text-link {
  display: inline-flex;
  margin-top: 22px;
}

.seller-form.contact-form-card {
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.seller-form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.seller-faq details {
  padding: 0;
}

.seller-faq summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--charcoal);
  font-weight: 900;
}

.seller-faq p {
  margin: 0;
  padding: 0 22px 22px;
}

.seller-final-cta {
  padding: clamp(48px, 7vw, 76px) 0;
  color: var(--white);
  background: var(--red);
}

.seller-final-cta h2,
.seller-final-cta .eyebrow {
  color: var(--white);
}

.seller-final-cta p {
  color: #ffecef;
}

.seller-final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
}

.seller-landing-footer {
  padding: 34px 0;
  color: #d5d8d8;
  background: #181b1e;
}

.seller-landing-footer p {
  margin: 0 0 10px;
}

.seller-landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.seller-landing-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand cta"
      "menu menu";
    align-items: center;
    gap: 10px 12px;
    min-height: auto;
    padding: 10px 0;
  }

  .nav .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav .brand > span:last-child {
    min-width: 0;
  }

  .nav .brand strong,
  .nav .brand > span:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    width: 100%;
  }

  .nav-menu {
    grid-area: menu;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    white-space: nowrap;
  }

  .nav-cta {
    grid-area: cta;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .main-nav ul {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .contact-band,
  .footer-inner,
  .case-split,
  .owner-lessons {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 520px;
  }

  .grid.three,
  .grid.two,
  .hero-points,
  .case-facts,
  .case-photo-grid {
    grid-template-columns: 1fr;
  }

  .case-hero,
  .case-result {
    min-height: auto;
  }

  .case-photo-grid figure:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .case-wide-photo {
    aspect-ratio: 4 / 3;
  }

  .seller-hero__grid,
  .seller-split,
  .seller-form-layout,
  .seller-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .seller-card-grid.three,
  .seller-testimonials,
  .seller-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .content-wrap {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .case-hero {
    padding-top: 130px;
  }

  .case-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .case-facts div {
    min-height: auto;
    padding: 18px;
  }

  .entry-content .wp-block-button,
  .entry-content .wp-block-button__link {
    width: 100%;
  }

  .single-post .page-shell > .wrap {
    width: min(100% - 28px, 960px);
  }

  .single-post .wp-block-button,
  .single-post .wp-block-button__link {
    width: 100%;
  }

  .seller-landing-header__inner,
  .seller-wrap {
    width: min(100% - 28px, 1120px);
  }

  .seller-landing-header__inner {
    min-height: 58px;
    gap: 10px;
  }

  .seller-landing-brand .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .seller-landing-brand small {
    display: none;
  }

  .seller-landing-header__actions {
    gap: 6px;
  }

  .seller-header-link {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .seller-landing-header .button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

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

  .seller-feature-grid {
    grid-template-columns: 1fr;
  }

  .seller-process-step {
    grid-template-columns: 1fr;
  }
}

/* Live WordPress page template compatibility
   Restores styling for newer page content classes used on staging pages. */
.page-shell {
  background: var(--paper);
}

.page-shell > .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell .content-card {
  width: 100%;
  max-width: 100%;
  padding: clamp(54px, 7vw, 92px) 0;
}

.page-shell .content-card > .eyebrow:first-child,
.page-shell .content-card > h1:first-of-type {
  max-width: 900px;
}

.page-shell .content-card > h1:first-of-type {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.page-shell .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.why-melvin-import,
.review-wall-hero,
.review-wall,
.why-section,
.why-import-hero,
.why-cta-band {
  width: 100%;
}

/* Seller landing v2
   Combines the strongest local landing-page references while keeping the
   production WordPress route, tracking hooks, and compliance structure. */
.seller-landing-v2 {
  background: var(--paper);
}

.seller-landing-v2 .seller-hero--portrait {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 84px) 0 clamp(52px, 7vw, 90px);
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(21, 23, 25, 0.98) 0%, rgba(41, 45, 49, 0.98) 56%, rgba(73, 64, 51, 0.94) 100%),
    var(--charcoal);
}

.seller-landing-v2 .seller-hero--portrait h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.55rem, 6.1vw, 5.25rem);
}

.seller-landing-v2 .seller-hero--portrait .seller-lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
}

.seller-landing-v2 .seller-hero--portrait .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.seller-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.16);
}

.seller-hero-stats div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.seller-hero-stats b,
.seller-hero-stats span {
  display: block;
}

.seller-hero-stats b {
  color: #f3eee6;
  font-size: 1.18rem;
  line-height: 1.15;
}

.seller-hero-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.seller-portrait-panel {
  position: relative;
  min-height: min(620px, 72vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #202326;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.seller-portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(8%);
}

.seller-portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 23, 25, 0.02), rgba(21, 23, 25, 0.68));
}

.seller-portrait-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: 260px;
  padding: 18px 20px;
  border: 1px solid rgba(185, 137, 45, 0.76);
  background: rgba(21, 23, 25, 0.88);
}

.seller-portrait-badge strong,
.seller-portrait-badge span,
.seller-portrait-badge small {
  display: block;
}

.seller-portrait-badge strong {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.1;
}

.seller-portrait-badge span {
  margin-top: 7px;
  color: #f0dfbd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seller-portrait-badge small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.seller-trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.seller-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.seller-trust-strip span {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.seller-section-head--center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.seller-section-head p {
  color: var(--muted);
}

.seller-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.seller-risk-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
}

.seller-risk-card h3 {
  font-size: 1.16rem;
}

.seller-risk-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.seller-value-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.seller-value-card h3 {
  font-size: 1.22rem;
}

.seller-value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.seller-property-selector .seller-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-property-selector a.seller-value-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.seller-property-selector a.seller-value-card:hover,
.seller-property-selector a.seller-value-card:focus-visible {
  border-color: rgba(201, 24, 43, 0.36);
}

.seller-process-band .seller-section-head p,
.seller-section--dark .seller-section-head p {
  color: #d7dcdd;
}

.seller-landing-v2 .seller-process {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.seller-landing-v2 .seller-process-step {
  grid-template-columns: 1fr;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.seller-landing-v2 .seller-process-step span {
  color: #f0dfbd;
  font-size: 2.4rem;
  opacity: 0.76;
}

.seller-landing-v2 .seller-process-step h3 {
  color: var(--white);
  font-size: 1.04rem;
}

.seller-landing-v2 .seller-process-step p {
  color: #d7dcdd;
  font-size: 0.92rem;
}

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

.seller-case-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
}

.seller-case-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seller-case-card p {
  color: var(--muted);
}

.seller-case-card small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  font-weight: 900;
}

.seller-case-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seller-landing-v2 .seller-section--dark .seller-testimonials blockquote {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.seller-landing-v2 .seller-section--dark .seller-testimonials p {
  color: #e8ecec;
}

.seller-landing-v2 .seller-section--dark .seller-testimonials cite {
  color: #f0dfbd;
}

.seller-text-link--light {
  color: #f0dfbd;
}

.seller-form-layout--premium {
  align-items: center;
}

.seller-direct-list {
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.seller-direct-list a {
  color: var(--charcoal);
  font-weight: 900;
  text-decoration: none;
}

.seller-form--dark {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 8px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: 0 24px 62px rgba(30, 28, 24, 0.16);
}

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

.seller-form--dark label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seller-form--dark input,
.seller-form--dark select,
.seller-form--dark textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

.seller-form--dark textarea {
  resize: vertical;
}

.seller-form--dark input::placeholder,
.seller-form--dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.seller-form--dark input:focus,
.seller-form--dark select:focus,
.seller-form--dark textarea:focus {
  outline: none;
  border-color: #f0dfbd;
  box-shadow: 0 0 0 3px rgba(240, 223, 189, 0.14);
}

.seller-form--dark select option {
  color: var(--ink);
  background: var(--white);
}

.seller-form--dark .button {
  width: 100%;
  min-height: 50px;
}

.seller-form--dark .seller-form-note {
  color: rgba(255, 255, 255, 0.54);
  text-align: center;
}

@media (max-width: 1040px) {
  .seller-trust-strip__inner,
  .seller-risk-grid,
  .seller-value-grid,
  .seller-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-landing-v2 .seller-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .seller-landing-v2 .seller-hero--portrait {
    min-height: auto;
    padding-top: 42px;
  }

  .seller-portrait-panel {
    min-height: 430px;
  }

  .seller-hero-stats,
  .seller-trust-strip__inner,
  .seller-risk-grid,
  .seller-value-grid,
  .seller-property-selector .seller-value-grid,
  .seller-case-grid,
  .seller-form-grid {
    grid-template-columns: 1fr;
  }

  .seller-trust-strip span {
    min-height: 54px;
    justify-content: flex-start;
    text-align: left;
  }

  .seller-portrait-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .seller-landing-brand strong {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .seller-header-link {
    padding-right: 8px;
    padding-left: 8px;
  }
}

.why-import-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.why-import-hero {
  padding: clamp(36px, 6vw, 82px) 0 clamp(42px, 6vw, 78px);
}

.why-import-hero h1,
.why-import-hero h2,
.why-section-head h2,
.why-process-grid h2,
.why-honest h2,
.why-cta-band h2 {
  max-width: 880px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 1.04;
}

.why-hero-lead,
.why-section-lead,
.why-section-head p,
.why-honest p,
.why-cta-band p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.why-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.why-stat-strip div {
  min-height: 126px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.why-stat-strip div:last-child {
  border-right: 0;
}

.why-stat-strip strong {
  display: block;
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1;
}

.why-stat-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.why-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.why-warm {
  background: var(--warm);
}

.why-honest {
  color: var(--white);
  background: var(--charcoal);
}

.why-honest h2,
.why-honest .eyebrow,
.why-honest p,
.why-cta-band h2,
.why-cta-band p {
  color: inherit;
}

.why-honest p,
.why-cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.why-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.why-pillars-grid,
.why-who-grid,
.why-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-pillars-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: start;
}

.why-steps {
  display: grid;
  gap: 16px;
}

.why-pillars-grid article,
.why-who-grid article,
.why-review-grid article,
.why-steps article {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(30, 28, 24, 0.07);
}

.why-steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
}

.why-review-grid article {
  display: flex;
  flex-direction: column;
}

.why-review-grid article > p:last-child {
  margin-top: auto;
  padding-top: 22px;
}

.why-pillars-grid article strong,
.why-steps article strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
}

.why-pillars-grid h3,
.why-who-grid h3,
.why-review-grid h3,
.why-steps h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.why-pillars-grid p,
.why-who-grid p,
.why-review-grid p,
.why-steps p {
  margin: 0;
  color: var(--muted);
}

.why-centered-link {
  margin-top: 32px;
  text-align: center;
}

.why-centered-link a {
  color: var(--red);
  font-weight: 900;
}

.why-cta-band {
  padding: clamp(54px, 7vw, 88px) 0;
  color: var(--white);
  background: var(--red);
}

.why-cta-band .why-import-inner {
  width: min(1180px, calc(100% - 40px));
}

.review-wall-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 30px;
}

.review-wall-hero h2 {
  max-width: 920px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.review-wall-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.review-wall-source {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 900;
}

.review-wall-source a {
  color: var(--red);
}

.review-wall {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(40px, 6vw, 70px);
  border: 1px solid var(--line);
  background: var(--warm);
}

.review-wall-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(30, 28, 24, 0.08);
}

.review-wall-card::before {
  content: "\201C";
  display: block;
  margin-bottom: 22px;
  color: #eadfca;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.55;
}

.review-excerpt {
  color: #68707a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.review-full {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.review-card-footer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fae9ec;
  font-weight: 900;
}

.review-card-footer strong,
.review-card-footer b {
  display: block;
  color: var(--ink);
}

.review-card-footer span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card-footer .stars,
.review-card-footer em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .why-section-head,
  .why-process-grid,
  .why-who-grid,
  .why-review-grid,
  .review-wall,
  .why-stat-strip {
    grid-template-columns: 1fr;
  }

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

  .why-stat-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-stat-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .page-shell > .wrap {
    width: min(100% - 28px, 1180px);
  }

  .page-shell .content-card {
    padding: 48px 0;
  }

  .why-import-hero h2,
  .why-import-hero h1,
  .why-section-head h2,
  .why-process-grid h2,
  .why-honest h2,
  .why-cta-band h2,
  .review-wall-hero h2 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .why-pillars-grid {
    grid-template-columns: 1fr;
  }

  .review-wall {
    padding: 22px;
  }

  .review-wall-card {
    min-height: auto;
    padding: 28px;
  }

  .review-card-footer {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .review-card-footer .stars,
  .review-card-footer em {
    grid-column: 2;
  }
}

/* Homepage compatibility for live front-page markup. */
.home .wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.home section {
  padding: 84px 0;
}

.home .hero {
  min-height: auto;
  padding: 70px 0 36px;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 49%, rgba(223, 233, 243, .88) 100%);
}

.home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: end;
  gap: 34px;
}

.home h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
}

.home h2 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 50px);
}

.home .lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #44413c;
  font-size: clamp(17px, 2vw, 21px);
}

.home .hero-actions,
.home .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home .quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 690px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.home .quick-stats div {
  min-height: 116px;
  padding: 22px;
  background: rgba(255, 255, 255, .82);
}

.home .quick-stats strong {
  display: block;
  color: var(--red-dark);
  font-size: 25px;
  line-height: 1;
}

.home .quick-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.home .credential {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(201, 24, 43, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #4b4641;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.home .portrait-stage {
  position: relative;
  min-height: 628px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.home .portrait-stage::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(145deg, #ffffff, var(--blue));
  box-shadow: var(--shadow);
}

.home .portrait-stage::after {
  content: "Truthful advice. No hard selling.";
  position: absolute;
  right: 12px;
  bottom: 32px;
  width: min(260px, 48%);
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, .92);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 18px 38px rgba(20, 20, 20, .12);
}

.home .portrait,
.home .portrait-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(440px, 92%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
}

.home .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.home .section-head p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.home .path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home .path {
  min-height: 230px;
  padding: 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home .path:last-child {
  border-right: 0;
}

.home .why-band {
  color: var(--white);
  background: var(--charcoal);
}

.home .why-band .eyebrow,
.home .why-band .section-head p {
  color: #f1d9a3;
}

.home .why-grid,
.home .split-grid,
.home .launch-showcase,
.home .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.home .why-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
}

.home .why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, .06);
}

.home .why-item b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.home .why-item strong,
.home .quote-panel span,
.home .proof-card strong,
.home .auto-step strong,
.home .auto-step b {
  display: block;
}

.home .why-item span,
.home .quote-panel span,
.home .proof-card span,
.home .auto-step span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
}

.home .quote-panel {
  min-height: 100%;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(201, 24, 43, .22), rgba(255, 255, 255, .06));
}

.home .quote-panel p {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.14;
  font-weight: 790;
}

.home .proof-strip,
.home .automation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
}

.home .proof-card,
.home .auto-step {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, .07);
}

.home .proof-card strong,
.home .auto-step strong {
  color: #f1d9a3;
  font-size: 24px;
  line-height: 1.1;
}

.home .case-grid,
.home .listing-grid,
.home .insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.home .case,
.home .listing,
.home .insight {
  min-height: 238px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 22, 22, .06);
}

.home .case.wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--white), #f7e6e8);
}

.home .case small,
.home .path small,
.home .listing small,
.home .insight small {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home .case p,
.home .path p,
.home .listing p,
.home .insight p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.home .split-band {
  background: linear-gradient(90deg, var(--sage) 0 50%, var(--blue) 50% 100%);
}

.home .feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.home .feature-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  align-items: start;
}

.home .feature-row span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

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

.home .launch-showcase {
  grid-template-columns: .85fr 1.15fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.home .launch-panel {
  min-height: 410px;
  padding: 34px;
  color: var(--white);
  background: var(--charcoal);
}

.home .project-row {
  display: grid;
  grid-template-columns: 1fr .8fr .8fr;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home .seo-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.home .seo-node {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 760;
}

.home .automation {
  color: var(--white);
  background: var(--charcoal);
}

.home .contact-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--red);
}

.home .contact-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.home .contact-grid p {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
}

.home .contact-grid .button {
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

/* Priority 1 legal and resource pages. */
.priority-page {
  width: 100%;
  background: var(--paper);
}

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

.priority-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(38px, 6vw, 70px);
}

.priority-hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.04;
}

.priority-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.priority-section {
  padding: clamp(46px, 6vw, 78px) 0;
}

.priority-card-grid,
.priority-legal-grid,
.priority-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.priority-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(30, 28, 24, 0.07);
}

.priority-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.priority-card p,
.priority-card li {
  color: var(--muted);
}

.priority-guide-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}

.priority-guide-card a,
.priority-sitemap-grid a {
  color: var(--red);
  font-weight: 900;
}

.priority-guide-card a {
  margin-top: auto;
}

.priority-sitemap-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.priority-note {
  margin-top: 24px;
  color: var(--muted);
  font-weight: 800;
}

.priority-cta {
  padding: clamp(42px, 6vw, 70px) 0;
  color: var(--white);
  background: var(--red);
}

.priority-cta .priority-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.priority-cta h2 {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.priority-cta .button {
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .home .hero-grid,
  .home .why-grid,
  .home .split-grid,
  .home .launch-showcase,
  .home .contact-grid {
    grid-template-columns: 1fr;
  }

  .home .path-grid,
  .home .case-grid,
  .home .listing-grid,
  .home .insight-grid,
  .home .card-grid,
  .home .seo-map,
  .home .automation-grid,
  .home .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-card-grid,
  .priority-legal-grid,
  .priority-sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-cta .priority-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .home section {
    padding: 58px 0;
  }

  .home .quick-stats,
  .home .path-grid,
  .home .case-grid,
  .home .listing-grid,
  .home .insight-grid,
  .home .card-grid,
  .home .seo-map,
  .home .automation-grid,
  .home .proof-strip {
    grid-template-columns: 1fr;
  }

  .home .case.wide {
    grid-column: auto;
  }

  .home .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home .portrait-stage {
    min-height: 430px;
  }

  .home .portrait-stage::after {
    left: 12px;
    right: auto;
    width: calc(100% - 24px);
  }

  .priority-card-grid,
  .priority-legal-grid,
  .priority-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .priority-card {
    padding: 24px;
  }

  .priority-guide-card {
    min-height: auto;
  }

  .priority-cta .button {
    width: 100%;
  }
}

/* Imported page wrapper repair.
   Some WordPress pages place full custom layouts inside a .lead wrapper. */
.page-shell .content-card > .lead {
  width: 100%;
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.page-shell .content-card > .lead > * {
  width: 100%;
}

/* Services page compatibility. */
.services-import,
.services-hero,
.services-section,
.services-cta {
  width: 100%;
}

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

.services-hero {
  padding: clamp(30px, 4.5vw, 64px) 0 clamp(54px, 7vw, 96px);
}

.services-hero h2,
.services-section h2 {
  max-width: 920px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.04;
}

.services-hero-lead,
.services-section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

/* New launch project reviews hub. */
.nlp-page {
  background: var(--paper);
}

.nlp-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 82px);
  background:
    linear-gradient(115deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 54%, rgba(243, 238, 230, 0.96) 100%),
    var(--warm);
}

.nlp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.48fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.nlp-hero h1 {
  max-width: 880px;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
}

.nlp-hero .lead {
  max-width: 760px;
  margin-top: 22px;
}

.nlp-updated-note {
  display: inline-flex;
  max-width: 760px;
  margin-top: 16px;
  padding: 10px 13px;
  border: 1px solid rgba(201, 24, 43, 0.14);
  border-radius: 8px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.nlp-hero p:not(.eyebrow):not(.lead),
.nlp-section-head p,
.nlp-framework p,
.nlp-cta p,
.nlp-disclaimer p {
  color: var(--muted);
}

.nlp-hero-panel {
  display: grid;
  gap: 14px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(222, 216, 204, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.nlp-hero-panel span,
.nlp-project-top span,
.nlp-tag-row span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nlp-hero-panel strong {
  color: var(--charcoal);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.nlp-hero-panel p,
.nlp-card p,
.nlp-faq-item p {
  margin: 0;
  color: var(--muted);
}

.nlp-section {
  padding: clamp(62px, 8vw, 96px) 0;
}

.nlp-warm {
  background: var(--warm);
}

.nlp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.52fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.nlp-section-head h2,
.nlp-framework h2,
.nlp-cta h2 {
  max-width: 880px;
  font-size: clamp(2.15rem, 4.5vw, 4.35rem);
}

.nlp-card-grid,
.nlp-project-grid,
.nlp-framework-list,
.nlp-faq-list {
  display: grid;
  gap: 18px;
}

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

.nlp-card,
.nlp-project-card,
.nlp-faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(30, 28, 24, 0.06);
}

.nlp-card {
  display: block;
  min-height: 100%;
  padding: 26px;
}

.nlp-card h3,
.nlp-faq-item h3 {
  margin-bottom: 12px;
}

.nlp-link-card {
  transition: border-color 180ms ease, transform 180ms ease;
}

.nlp-link-card:hover,
.nlp-link-card:focus-visible {
  border-color: rgba(201, 24, 43, 0.42);
  transform: translateY(-2px);
}

.nlp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  overflow-x: visible;
}

.nlp-filter-count {
  scroll-margin-top: 104px;
  margin: -10px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nlp-chip {
  max-width: 100%;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(201, 24, 43, 0.18);
  border-radius: 999px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.nlp-chip[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.nlp-mobile-filter-toggle,
.nlp-mobile-filter-overlay,
.nlp-mobile-filter-drawer {
  display: none;
}

.nlp-no-results[hidden],
.nlp-mobile-filter-overlay[hidden],
.nlp-mobile-filter-drawer[hidden] {
  display: none !important;
}

body.nlp-filter-drawer-open {
  overflow: hidden;
}

.nlp-mobile-filter-panel {
  outline: none;
}

.nlp-mobile-filter-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.nlp-mobile-filter-head h2 {
  margin: 4px 0 0;
  font-size: 1.55rem;
}

.nlp-mobile-filter-close {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--white);
  font-weight: 900;
}

.nlp-mobile-filter-count {
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nlp-mobile-filter-options {
  display: grid;
  gap: 9px;
}

.nlp-mobile-filter-option {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(201, 24, 43, 0.18);
  border-radius: 999px;
  color: var(--charcoal);
  background: rgba(251, 250, 247, 0.86);
  font-size: 0.92rem;
  font-weight: 850;
  text-align: left;
}

.nlp-mobile-filter-option[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.nlp-no-results {
  scroll-margin-top: 104px;
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--charcoal);
  font-weight: 700;
}

.nlp-project-grid {
  scroll-margin-top: 104px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nlp-project-card {
  scroll-margin-top: 104px;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.nlp-project-card[hidden],
.nlp-project-card.is-hidden {
  display: none !important;
}

.nlp-project-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--warm);
}

.nlp-project-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nlp-project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.nlp-project-top {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.nlp-project-top h3 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.nlp-project-meta {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.nlp-project-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}

.nlp-project-meta dt {
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nlp-project-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
}

.nlp-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.nlp-tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0f2;
  text-transform: none;
}

.nlp-card-button {
  width: 100%;
  margin-top: auto;
  transform: translateY(18px);
}

.nlp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(30, 28, 24, 0.06);
  -webkit-overflow-scrolling: touch;
}

.nlp-comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.nlp-comparison-table th,
.nlp-comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.nlp-comparison-table th {
  color: var(--charcoal);
  background: #f7f2ea;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nlp-comparison-table td {
  color: var(--muted);
}

.nlp-comparison-table tr:last-child td {
  border-bottom: 0;
}

.nlp-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.36fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.nlp-detail-main,
.nlp-detail-side {
  display: grid;
  gap: 18px;
}

.nlp-detail-main h2,
.nlp-detail-main h3,
.nlp-detail-side h2,
.nlp-disclaimer h2 {
  margin: 0;
}

.nlp-detail-main p,
.nlp-detail-side p,
.nlp-disclaimer p {
  margin: 0;
}

.nlp-detail-thumb {
  overflow: hidden;
  margin: -26px -26px 8px;
  border-radius: 8px 8px 0 0;
  background: var(--warm);
}

.nlp-detail-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.nlp-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.nlp-check-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.nlp-detail-button {
  width: 100%;
}

.nlp-framework {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.nlp-framework-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nlp-framework-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nlp-framework-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 900;
}

.nlp-framework-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.nlp-faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nlp-faq-item {
  padding: 28px;
}

.nlp-cta {
  padding: clamp(58px, 8vw, 90px) 0;
  color: var(--white);
  background: var(--red);
}

.nlp-cta .eyebrow,
.nlp-cta h2,
.nlp-cta p {
  color: inherit;
}

.nlp-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.nlp-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) auto;
  gap: 24px;
  align-items: center;
}

.nlp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.nlp-cta .button.secondary {
  color: var(--red);
  border-color: var(--white);
}

.nlp-disclaimer {
  padding: 26px 0 42px;
  background: var(--paper);
}

.nlp-disclaimer p {
  max-width: 980px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .nlp-hero-grid,
  .nlp-section-head,
  .nlp-detail-grid,
  .nlp-framework,
  .nlp-cta-inner {
    grid-template-columns: 1fr;
  }

  .nlp-four,
  .nlp-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nlp-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nlp-hero {
    padding-top: 42px;
  }

  .nlp-four,
  .nlp-project-grid,
  .nlp-framework-list,
  .nlp-faq-list {
    grid-template-columns: 1fr;
  }

  .nlp-card,
  .nlp-detail-main,
  .nlp-detail-side,
  .nlp-faq-item,
  .nlp-hero-panel {
    padding: 22px;
  }

  .nlp-detail-thumb {
    margin: -22px -22px 4px;
  }

  .nlp-project-content {
    padding: 22px;
  }

  .nlp-project-meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .nlp-chip-row {
    flex-wrap: wrap;
    gap: 9px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .nlp-chip {
    flex: 0 1 auto;
    min-height: 40px;
  }

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

@media (max-width: 768px) {
  .nlp-mobile-filter-toggle {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: var(--white);
    background: var(--red);
    box-shadow: 0 16px 34px rgba(30, 28, 24, 0.22);
    font-size: 0.92rem;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nlp-mobile-filter-toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nlp-mobile-filter-overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(21, 23, 25, 0.42);
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .nlp-mobile-filter-overlay.is-open {
    opacity: 1;
  }

  .nlp-mobile-filter-drawer:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    display: block;
    pointer-events: none;
  }

  .nlp-mobile-filter-panel {
    max-height: min(78vh, 640px);
    overflow-y: auto;
    padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: var(--white);
    box-shadow: 0 -22px 54px rgba(21, 23, 25, 0.22);
    pointer-events: auto;
    transform: translateY(100%);
    transition: transform 220ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .nlp-mobile-filter-drawer.is-open .nlp-mobile-filter-panel {
    transform: translateY(0);
  }

  .nlp-mobile-filter-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nlp-disclaimer {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .nlp-mobile-filter-options {
    grid-template-columns: 1fr;
  }

  .nlp-mobile-filter-toggle {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

.services-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.services-tabs a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #555;
  font-weight: 900;
  text-align: center;
}

.services-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.services-warm {
  background: var(--warm);
}

.services-stack {
  display: grid;
  gap: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.service-card summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 32px 76px 32px 34px;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary::after {
  content: "+";
  position: absolute;
  top: 32px;
  right: 32px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fae9ec;
  font-weight: 900;
}

.service-card[open] summary::after {
  content: "-";
}

.service-card h2,
.service-card h3 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.service-body {
  padding: 0 34px 34px;
}

.service-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-cols h4,
.service-body h4 {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-whatsapp,
.services-cta .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.not-sure-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.fees-grid,
.service-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.fees-grid > *,
.service-process > * {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.services-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--white);
  background: var(--red);
}

.services-cta h2,
.services-cta p {
  color: var(--white);
}

/* New launch hub compatibility. */
.nl-hub,
.nlh-hero,
.nlh-section,
.nlh-cta {
  width: 100%;
}

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

.nlh-hero {
  padding: clamp(58px, 7vw, 98px) 0;
  color: var(--white);
  background: var(--charcoal);
}

.nlh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.nlh-hero h2 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.04;
}

.nlh-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nlh-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nlh-panel-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.nlh-panel-row:last-child {
  border-bottom: 0;
}

.nlh-panel-row strong {
  color: var(--white);
}

.nlh-panel-row b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.nlh-panel-row > p:empty,
.nlh-check > p:empty {
  display: none;
}

.nlh-panel-row > div,
.nlh-check > div {
  min-width: 0;
  grid-column: 2;
}

.nlh-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.nlh-section.alt {
  background: var(--warm);
}

.nlh-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.nlh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nlh-project {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.nlh-project-visual {
  display: grid;
  min-height: 190px;
  place-items: end start;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, #20342d, #53665a);
  font-weight: 900;
}

.nlh-project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nlh-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.nlh-tag {
  display: inline-flex;
  min-height: 30px;
  align-self: flex-start;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fae9ec;
  font-size: 0.75rem;
  font-weight: 900;
}

.nlh-link {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
}

.nlh-framework {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.85fr);
  gap: 46px;
  align-items: start;
}

.nlh-checks {
  display: grid;
  gap: 16px;
}

.nlh-check {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nlh-check b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.nlh-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--white);
  background: var(--red);
}

.nlh-cta h2,
.nlh-cta p {
  color: var(--white);
}

.nlh-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--red);
  background: var(--white);
  font-weight: 900;
}

@media (max-width: 980px) {
  .services-tabs,
  .service-cols,
  .fees-grid,
  .service-process,
  .not-sure-service,
  .nlh-hero-grid,
  .nlh-section-head,
  .nlh-card-grid,
  .nlh-framework {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-inner,
  .nlh-inner {
    width: min(100% - 28px, 1180px);
  }

  .service-card summary,
  .service-body,
  .not-sure-service,
  .nlh-project-body,
  .nlh-check,
  .nlh-panel-row {
    padding: 22px;
  }

  .service-card summary {
    padding-right: 70px;
  }

  .service-card summary::after {
    top: 22px;
    right: 20px;
  }

  .nlh-panel-row > div,
  .nlh-check > div {
    grid-column: 1;
  }
}

/* CODEX_HOME_REVIEW_SLIDER_FIX_START */
.home .curated-review-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.home .curated-review-slider > .eyebrow {
  margin-bottom: 22px;
  color: #f1d9a3;
}

.home .review-slider-window {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.home .review-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  animation: homeReviewFade 18s infinite;
}

.home .review-slide.slide-two {
  animation-delay: 6s;
}

.home .review-slide.slide-three {
  animation-delay: 12s;
}

.home .review-slide p {
  margin: 14px 0 18px;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(28px, 2.65vw, 42px);
  line-height: 1.14;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.home .story-tag {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home .story-stars {
  color: #f1d9a3;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.home .review-slide strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.home .review-slide small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.home .slider-dots {
  position: absolute;
  left: 38px;
  bottom: 72px;
  display: flex;
  gap: 10px;
}

.home .slider-dots span {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.home .story-link {
  position: absolute;
  left: 38px;
  bottom: 34px;
  color: #f1d9a3;
  font-weight: 900;
}

@keyframes homeReviewFade {
  0%, 30% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 860px) {
  .home .curated-review-slider { min-height: 470px; }
  .home .review-slider-window { min-height: 310px; }
  .home .review-slide p { font-size: clamp(24px, 7vw, 34px); }
  .home .slider-dots,
  .home .story-link { left: 28px; }
}
/* CODEX_HOME_REVIEW_SLIDER_FIX_END */


/* Reviews page bottom section fix */
.review-wall-themes {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(42px, 6vw, 78px) auto 0;
}

.review-wall-themes h2 {
  max-width: 980px;
  margin-top: 12px;
}

.review-wall-theme-list,
.review-wall-themes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.review-wall-theme-list span,
.review-wall-themes > div span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-dark);
  background: var(--white);
  font-size: .86rem;
  font-weight: 900;
}

.reviews-contact {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(42px, 6vw, 78px) auto 0;
}

.reviews-contact .button {
  white-space: nowrap;
}

.site-footer .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.site-footer .wrap span {
  display: block;
}

.site-footer .wrap span + span {
  margin-top: 6px;
  color: #d5d8d8;
}

@media (max-width: 600px) {
  .reviews-contact,
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }

  .reviews-contact .button {
    width: 100%;
    white-space: normal;
  }
}
/*
Theme Name: Melvin Property Theme
Theme URI: https://melvintanproperty.com
Author: Melvin Tan Property
Description: Custom WordPress theme for Melvin Tan Property, built for seller, landlord, HDB resale, listings, sold listings, new launches, and transaction case study SEO.
Version: 1.0.115
Text Domain: melvin-property
*/

:root {
  --red: #c9182b;
  --red-dark: #951424;
  --charcoal: #292d31;
  --ink: #151719;
  --muted: #6f7378;
  --paper: #fbfaf7;
  --warm: #f3eee6;
  --line: #ded8cc;
  --gold: #b9892d;
  --sage: #7a8c78;
  --blue: #4a6472;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(30, 28, 24, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 216, 204, 0.78);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
}

.brand > span:last-child {
  display: block;
}

.brand > span:last-child span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  color: #3e4246;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(201, 24, 43, 0.18);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  color: #3e4246;
  font-size: 0.92rem;
  font-weight: 700;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.button.secondary {
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 62px 0 40px;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 48%, rgba(243, 238, 230, 0.9) 100%),
    var(--warm);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.65rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #45494d;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.metric {
  padding: 18px;
  border-top: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.74);
}

.metric b {
  display: block;
  color: var(--charcoal);
  font-size: 1.45rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.portrait-stage {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 16% 0 0;
  background: linear-gradient(145deg, var(--charcoal), #494033);
  clip-path: polygon(20% 8%, 100% 0, 84% 100%, 0 100%);
}

.portrait-photo {
  position: relative;
  z-index: 2;
  width: min(440px, 92%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--warm);
}

.section.dark {
  color: var(--white);
  background: var(--charcoal);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section.dark .section-heading p {
  color: #ccd0d1;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  display: block;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dark .card {
  color: #e8ecec;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.card .tag,
.pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.card p,
.entry-content p {
  color: var(--muted);
}

.dark .card p {
  color: #cfd4d4;
}

.case-card {
  border-left: 4px solid var(--red);
}

.case-card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.listing-card {
  padding: 0;
  overflow: hidden;
}

.listing-thumb {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--charcoal));
  font-weight: 900;
}

.listing-body {
  padding: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.4fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--white);
}

.contact-band p {
  margin: 10px 0 0;
  color: #ffecef;
}

.site-footer {
  padding: 48px 0;
  color: #d5d8d8;
  background: #181b1e;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.archive-hero {
  padding: 76px 0 44px;
  background: var(--warm);
}

.content-wrap {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
  overflow-wrap: break-word;
}

.content-wrap h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.entry-content figure,
.entry-content .wp-block-image {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.entry-content .wp-block-button {
  max-width: 100%;
}

.entry-content .wp-block-button__link {
  max-width: 100%;
  height: auto;
  min-height: 44px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.single-post .page-shell > .wrap {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.single-post .content-card {
  width: 100%;
  max-width: 100%;
}

.single-post .content-card > * {
  max-width: 100%;
}

.single-post .content-card .lead {
  width: 100%;
  max-width: 760px;
}

.single-post .wp-block-image,
.single-post figure {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-post img {
  display: block;
  max-width: 100%;
  height: auto;
}

.single-post .wp-block-button {
  max-width: 100%;
}

.single-post .wp-block-button__link {
  max-width: 100%;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.case-study-page {
  background: var(--paper);
}

.case-hero,
.case-result {
  position: relative;
  display: flex;
  min-height: calc(100vh - 76px);
  align-items: flex-end;
  padding: 80px 0 48px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.case-hero h1,
.case-result h2 {
  color: var(--white);
}

.case-hero .lead,
.case-result p {
  color: #f3eee6;
}

.case-hero-inner {
  width: min(1180px, calc(100% - 40px));
}

.case-hero h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: 38px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.case-facts div {
  min-height: 112px;
  padding: 22px;
  background: rgba(21, 23, 25, 0.54);
}

.case-facts b,
.case-facts span {
  display: block;
}

.case-facts b {
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1.1;
}

.case-facts span {
  margin-top: 8px;
  color: #e8ecec;
  font-size: 0.92rem;
}

.case-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.case-photo-grid figure,
.case-image-panel,
.case-wide-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--warm);
}

.case-photo-grid figure {
  aspect-ratio: 4 / 3;
}

.case-photo-grid figure:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.case-photo-grid img,
.case-image-panel img,
.case-wide-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.62fr);
  gap: 48px;
  align-items: center;
}

.case-split p {
  color: var(--muted);
  font-size: 1.04rem;
}

.case-image-panel {
  aspect-ratio: 4 / 5;
}

.strategy-grid {
  margin-bottom: 18px;
}

.case-wide-photo {
  aspect-ratio: 16 / 8;
}

.case-result {
  min-height: 620px;
  align-items: center;
}

.case-result-inner {
  max-width: 760px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.case-result strong {
  display: block;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.85;
}

.owner-lessons {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.85fr);
  gap: 48px;
}

.lesson-list {
  display: grid;
  gap: 18px;
}

.lesson-list div {
  padding: 26px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.lesson-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 900;
}

.lesson-list p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .header-inner {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand cta"
      "menu menu";
    align-items: center;
    gap: 10px 12px;
    min-height: auto;
    padding: 10px 0;
  }

  .nav .brand {
    grid-area: brand;
    min-width: 0;
  }

  .nav .brand > span:last-child {
    min-width: 0;
  }

  .nav .brand strong,
  .nav .brand > span:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav {
    width: 100%;
  }

  .nav-menu {
    grid-area: menu;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    white-space: nowrap;
  }

  .nav-cta {
    grid-area: cta;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .main-nav ul {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .contact-band,
  .footer-inner,
  .case-split,
  .owner-lessons {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 520px;
  }

  .grid.three,
  .grid.two,
  .hero-points,
  .case-facts,
  .case-photo-grid {
    grid-template-columns: 1fr;
  }

  .case-hero,
  .case-result {
    min-height: auto;
  }

  .case-photo-grid figure:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .case-wide-photo {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .content-wrap {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .case-hero {
    padding-top: 130px;
  }

  .case-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .case-facts div {
    min-height: auto;
    padding: 18px;
  }

  .entry-content .wp-block-button,
  .entry-content .wp-block-button__link {
    width: 100%;
  }

  .single-post .page-shell > .wrap {
    width: min(100% - 28px, 960px);
  }

  .single-post .wp-block-button,
  .single-post .wp-block-button__link {
    width: 100%;
  }
}

/* Live WordPress page template compatibility
   Restores styling for newer page content classes used on staging pages. */
.page-shell {
  background: var(--paper);
}

.page-shell > .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell .content-card {
  width: 100%;
  max-width: 100%;
  padding: clamp(54px, 7vw, 92px) 0;
}

.page-shell .content-card > .eyebrow:first-child,
.page-shell .content-card > h1:first-of-type {
  max-width: 900px;
}

.page-shell .content-card > h1:first-of-type {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.page-shell .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.why-melvin-import,
.review-wall-hero,
.review-wall,
.why-section,
.why-import-hero,
.why-cta-band {
  width: 100%;
}

.why-import-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.why-import-hero {
  padding: clamp(36px, 6vw, 82px) 0 clamp(42px, 6vw, 78px);
}

.why-import-hero h1,
.why-import-hero h2,
.why-section-head h2,
.why-process-grid h2,
.why-honest h2,
.why-cta-band h2 {
  max-width: 880px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 1.04;
}

.why-hero-lead,
.why-section-lead,
.why-section-head p,
.why-honest p,
.why-cta-band p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.why-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.why-stat-strip div {
  min-height: 126px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.why-stat-strip div:last-child {
  border-right: 0;
}

.why-stat-strip strong {
  display: block;
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1;
}

.why-stat-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.why-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.why-warm {
  background: var(--warm);
}

.why-honest {
  color: var(--white);
  background: var(--charcoal);
}

.why-honest h2,
.why-honest .eyebrow,
.why-honest p,
.why-cta-band h2,
.why-cta-band p {
  color: inherit;
}

.why-honest p,
.why-cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.why-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.why-pillars-grid,
.why-who-grid,
.why-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-pillars-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: start;
}

.why-steps {
  display: grid;
  gap: 16px;
}

.why-pillars-grid article,
.why-who-grid article,
.why-review-grid article,
.why-steps article {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(30, 28, 24, 0.07);
}

.why-steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
}

.why-review-grid article {
  display: flex;
  flex-direction: column;
}

.why-review-grid article > p:last-child {
  margin-top: auto;
  padding-top: 22px;
}

.why-pillars-grid article strong,
.why-steps article strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
}

.why-pillars-grid h3,
.why-who-grid h3,
.why-review-grid h3,
.why-steps h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.why-pillars-grid p,
.why-who-grid p,
.why-review-grid p,
.why-steps p {
  margin: 0;
  color: var(--muted);
}

.why-centered-link {
  margin-top: 32px;
  text-align: center;
}

.why-centered-link a {
  color: var(--red);
  font-weight: 900;
}

.why-cta-band {
  padding: clamp(54px, 7vw, 88px) 0;
  color: var(--white);
  background: var(--red);
}

.why-cta-band .why-import-inner {
  width: min(1180px, calc(100% - 40px));
}

.review-wall-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 30px;
}

.review-wall-hero h2 {
  max-width: 920px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.review-wall-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.review-wall-source {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 900;
}

.review-wall-source a {
  color: var(--red);
}

.review-wall {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(40px, 6vw, 70px);
  border: 1px solid var(--line);
  background: var(--warm);
}

.review-wall-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(30, 28, 24, 0.08);
}

.review-wall-card::before {
  content: "\201C";
  display: block;
  margin-bottom: 22px;
  color: #eadfca;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.55;
}

.review-excerpt {
  color: #68707a;
  font-size: 1.05rem;
  line-height: 1.8;
}

.review-full {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.review-card-footer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fae9ec;
  font-weight: 900;
}

.review-card-footer strong,
.review-card-footer b {
  display: block;
  color: var(--ink);
}

.review-card-footer span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card-footer .stars,
.review-card-footer em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .why-section-head,
  .why-process-grid,
  .why-who-grid,
  .why-review-grid,
  .review-wall,
  .why-stat-strip {
    grid-template-columns: 1fr;
  }

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

  .why-stat-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-stat-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .page-shell > .wrap {
    width: min(100% - 28px, 1180px);
  }

  .page-shell .content-card {
    padding: 48px 0;
  }

  .why-import-hero h2,
  .why-import-hero h1,
  .why-section-head h2,
  .why-process-grid h2,
  .why-honest h2,
  .why-cta-band h2,
  .review-wall-hero h2 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .why-pillars-grid {
    grid-template-columns: 1fr;
  }

  .review-wall {
    padding: 22px;
  }

  .review-wall-card {
    min-height: auto;
    padding: 28px;
  }

  .review-card-footer {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .review-card-footer .stars,
  .review-card-footer em {
    grid-column: 2;
  }
}

/* Homepage compatibility for live front-page markup. */
.home .wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.home section {
  padding: 84px 0;
}

.home .hero {
  min-height: auto;
  padding: 70px 0 36px;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 49%, rgba(223, 233, 243, .88) 100%);
}

.home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: end;
  gap: 34px;
}

.home h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
}

.home h2 {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 50px);
}

.home .lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #44413c;
  font-size: clamp(17px, 2vw, 21px);
}

.home .hero-actions,
.home .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home .quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 690px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.home .quick-stats div {
  min-height: 116px;
  padding: 22px;
  background: rgba(255, 255, 255, .82);
}

.home .quick-stats strong {
  display: block;
  color: var(--red-dark);
  font-size: 25px;
  line-height: 1;
}

.home .quick-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.home .credential {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(201, 24, 43, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #4b4641;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.home .portrait-stage {
  position: relative;
  min-height: 628px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.home .portrait-stage::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(145deg, #ffffff, var(--blue));
  box-shadow: var(--shadow);
}

.home .portrait-stage::after {
  content: "Truthful advice. No hard selling.";
  position: absolute;
  right: 12px;
  bottom: 32px;
  width: min(260px, 48%);
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, .92);
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 18px 38px rgba(20, 20, 20, .12);
}

.home .portrait {
  position: relative;
  z-index: 2;
  display: block;
  width: min(440px, 92%);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
}

.home .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.home .section-head p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.home .path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home .path {
  min-height: 230px;
  padding: 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home .path:last-child {
  border-right: 0;
}

.home .why-band {
  color: var(--white);
  background: var(--charcoal);
}

.home .why-band .eyebrow,
.home .why-band .section-head p {
  color: #f1d9a3;
}

.home .why-grid,
.home .split-grid,
.home .launch-showcase,
.home .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.home .why-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
}

.home .why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, .06);
}

.home .why-item b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.home .why-item strong,
.home .quote-panel span,
.home .proof-card strong,
.home .auto-step strong,
.home .auto-step b {
  display: block;
}

.home .why-item span,
.home .quote-panel span,
.home .proof-card span,
.home .auto-step span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
}

.home .quote-panel {
  min-height: 100%;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(201, 24, 43, .22), rgba(255, 255, 255, .06));
}

.home .quote-panel p {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.14;
  font-weight: 790;
}

.home .proof-strip,
.home .automation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
}

.home .proof-card,
.home .auto-step {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, .07);
}

.home .proof-card strong,
.home .auto-step strong {
  color: #f1d9a3;
  font-size: 24px;
  line-height: 1.1;
}

.home .case-grid,
.home .listing-grid,
.home .insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.home .case,
.home .listing,
.home .insight {
  min-height: 238px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(22, 22, 22, .06);
}

.home .case.wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--white), #f7e6e8);
}

.home .case small,
.home .path small,
.home .listing small,
.home .insight small {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home .case p,
.home .path p,
.home .listing p,
.home .insight p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.home .split-band {
  background: linear-gradient(90deg, var(--sage) 0 50%, var(--blue) 50% 100%);
}

.home .feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.home .feature-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  align-items: start;
}

.home .feature-row span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

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

.home .launch-showcase {
  grid-template-columns: .85fr 1.15fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.home .launch-panel {
  min-height: 410px;
  padding: 34px;
  color: var(--white);
  background: var(--charcoal);
}

.home .project-row {
  display: grid;
  grid-template-columns: 1fr .8fr .8fr;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home .seo-map {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.home .seo-node {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 760;
}

.home .automation {
  color: var(--white);
  background: var(--charcoal);
}

.home .contact-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--red);
}

.home .contact-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.home .contact-grid p {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
}

.home .contact-grid .button {
  color: var(--red);
  background: var(--white);
  border-color: var(--white);
  box-shadow: none;
}

@media (max-width: 980px) {
  .home .hero-grid,
  .home .why-grid,
  .home .split-grid,
  .home .launch-showcase,
  .home .contact-grid {
    grid-template-columns: 1fr;
  }

  .home .path-grid,
  .home .case-grid,
  .home .listing-grid,
  .home .insight-grid,
  .home .card-grid,
  .home .seo-map,
  .home .automation-grid,
  .home .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home section {
    padding: 58px 0;
  }

  .home .quick-stats,
  .home .path-grid,
  .home .case-grid,
  .home .listing-grid,
  .home .insight-grid,
  .home .card-grid,
  .home .seo-map,
  .home .automation-grid,
  .home .proof-strip {
    grid-template-columns: 1fr;
  }

  .home .case.wide {
    grid-column: auto;
  }

  .home .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home .portrait-stage {
    min-height: 430px;
  }

  .home .portrait-stage::after {
    left: 12px;
    right: auto;
    width: calc(100% - 24px);
  }
}

/* Imported page wrapper repair.
   Some WordPress pages place full custom layouts inside a .lead wrapper. */
.page-shell .content-card > .lead {
  width: 100%;
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.page-shell .content-card > .lead > * {
  width: 100%;
}

/* Services page compatibility. */
.services-import,
.services-hero,
.services-section,
.services-cta {
  width: 100%;
}

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

.services-hero {
  padding: clamp(30px, 4.5vw, 64px) 0 clamp(54px, 7vw, 96px);
}

.services-hero h2,
.services-section h2 {
  max-width: 920px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.04;
}

.services-hero-lead,
.services-section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.services-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.services-tabs a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #555;
  font-weight: 900;
  text-align: center;
}

.services-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.services-warm {
  background: var(--warm);
}

.services-stack {
  display: grid;
  gap: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.service-card summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 32px 76px 32px 34px;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary::after {
  content: "+";
  position: absolute;
  top: 32px;
  right: 32px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fae9ec;
  font-weight: 900;
}

.service-card[open] summary::after {
  content: "-";
}

.service-card h2,
.service-card h3 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.service-body {
  padding: 0 34px 34px;
}

.service-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-cols h4,
.service-body h4 {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-whatsapp,
.services-cta .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.not-sure-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.fees-grid,
.service-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.fees-grid > *,
.service-process > * {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.services-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--white);
  background: var(--red);
}

.services-cta h2,
.services-cta p {
  color: var(--white);
}

/* New launch hub compatibility. */
.nl-hub,
.nlh-hero,
.nlh-section,
.nlh-cta {
  width: 100%;
}

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

.nlh-hero {
  padding: clamp(58px, 7vw, 98px) 0;
  color: var(--white);
  background: var(--charcoal);
}

.nlh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.nlh-hero h2 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 1.04;
}

.nlh-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nlh-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nlh-panel-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.nlh-panel-row:last-child {
  border-bottom: 0;
}

.nlh-panel-row strong {
  color: var(--white);
}

.nlh-panel-row b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.nlh-panel-row > p:empty,
.nlh-check > p:empty {
  display: none;
}

.nlh-panel-row > div,
.nlh-check > div {
  min-width: 0;
  grid-column: 2;
}

.nlh-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.nlh-section.alt {
  background: var(--warm);
}

.nlh-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 34px;
}

.nlh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nlh-project {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.08);
}

.nlh-project-visual {
  display: grid;
  min-height: 190px;
  place-items: end start;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, #20342d, #53665a);
  font-weight: 900;
}

.nlh-project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nlh-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.nlh-tag {
  display: inline-flex;
  min-height: 30px;
  align-self: flex-start;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fae9ec;
  font-size: 0.75rem;
  font-weight: 900;
}

.nlh-link {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
}

.nlh-framework {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.85fr);
  gap: 46px;
  align-items: start;
}

.nlh-checks {
  display: grid;
  gap: 16px;
}

.nlh-check {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nlh-check b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.nlh-cta {
  padding: clamp(56px, 7vw, 96px) 0;
  color: var(--white);
  background: var(--red);
}

.nlh-cta h2,
.nlh-cta p {
  color: var(--white);
}

.nlh-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--red);
  background: var(--white);
  font-weight: 900;
}

@media (max-width: 980px) {
  .services-tabs,
  .service-cols,
  .fees-grid,
  .service-process,
  .not-sure-service,
  .nlh-hero-grid,
  .nlh-section-head,
  .nlh-card-grid,
  .nlh-framework {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-inner,
  .nlh-inner {
    width: min(100% - 28px, 1180px);
  }

  .service-card summary,
  .service-body,
  .not-sure-service,
  .nlh-project-body,
  .nlh-check,
  .nlh-panel-row {
    padding: 22px;
  }

  .service-card summary {
    padding-right: 70px;
  }

  .service-card summary::after {
    top: 22px;
    right: 20px;
  }

  .nlh-panel-row > div,
  .nlh-check > div {
    grid-column: 1;
  }
}

/* CODEX_HOME_REVIEW_SLIDER_FIX_START */
.home .curated-review-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.home .curated-review-slider > .eyebrow {
  margin-bottom: 22px;
  color: #f1d9a3;
}

.home .review-slider-window {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.home .review-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  animation: homeReviewFade 18s infinite;
}

.home .review-slide.slide-two {
  animation-delay: 6s;
}

.home .review-slide.slide-three {
  animation-delay: 12s;
}

.home .review-slide p {
  margin: 14px 0 18px;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(28px, 2.65vw, 42px);
  line-height: 1.14;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.home .story-tag {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home .story-stars {
  color: #f1d9a3;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.home .review-slide strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.home .review-slide small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.home .slider-dots {
  position: absolute;
  left: 38px;
  bottom: 72px;
  display: flex;
  gap: 10px;
}

.home .slider-dots span {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.home .story-link {
  position: absolute;
  left: 38px;
  bottom: 34px;
  color: #f1d9a3;
  font-weight: 900;
}

@keyframes homeReviewFade {
  0%, 30% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 860px) {
  .home .curated-review-slider { min-height: 470px; }
  .home .review-slider-window { min-height: 310px; }
  .home .review-slide p { font-size: clamp(24px, 7vw, 34px); }
  .home .slider-dots,
  .home .story-link { left: 28px; }
}
/* CODEX_HOME_REVIEW_SLIDER_FIX_END */



/* CODEX_HOME_CTA_LAYOUT_FIX_START */
.home .contact-band {
  display: block;
  padding: 64px 0;
  margin: 0;
  border-radius: 0;
  color: var(--white);
  background: var(--red);
}

.home .contact-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.home .contact-grid h2 {
  max-width: 760px;
}

@media (max-width: 980px) {
  .home .contact-grid {
    grid-template-columns: 1fr;
  }

  .home .contact-grid .button {
    justify-self: start;
  }
}
/* CODEX_HOME_CTA_LAYOUT_FIX_END */

/* CODEX_HOME_WHY_SECTION_FIX_START */
.home .why-band h2 {
  color: #ffffff;
}

.home .why-band .why-list {
  margin-top: 28px;
}

.home .why-band .review-slide p {
  font-size: clamp(28px, 2.35vw, 40px);
  line-height: 1.12;
  overflow-wrap: normal;
}

.home .why-band .review-slider-window {
  min-height: 350px;
}

@media (max-width: 980px) {
  .home .why-band h2 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .home .why-band .why-list {
    margin-top: 22px;
  }

  .home .why-band .review-slide p {
    font-size: clamp(24px, 7vw, 34px);
    overflow-wrap: anywhere;
  }
}
/* CODEX_HOME_WHY_SECTION_FIX_END */

/* CODEX_HOME_WHY_FLUSH_FIX_START */
@media (min-width: 981px) {
  .home .why-band .why-grid {
    align-items: stretch;
  }

  .home .why-band .why-grid > div {
    display: flex;
    flex-direction: column;
  }

  .home .why-band .curated-review-slider {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .home .why-band .review-slider-window {
    flex: 1;
    min-height: 0;
  }

  .home .why-band .review-slide {
    justify-content: center;
    padding-bottom: 84px;
  }
}
/* CODEX_HOME_WHY_FLUSH_FIX_END */

/* CODEX_SIMPLE_GLOBAL_FOOTER_START */
.simple-site-footer {
  margin-top: 56px;
  padding: 48px 0 32px;
  border-top: 4px solid var(--red);
  color: #d7ddda;
  background:
    linear-gradient(135deg, rgba(201, 24, 43, 0.08), rgba(241, 217, 163, 0.04) 38%, rgba(255, 255, 255, 0) 70%),
    #202428;
}

.simple-footer-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.simple-footer-brand {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(241, 217, 163, 0.18);
}

.simple-footer-brand h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.simple-footer-brand p {
  margin: 0;
  color: #c4cbc7;
  font-size: 0.94rem;
  line-height: 1.65;
}

.simple-footer-brand .simple-footer-tagline {
  max-width: 620px;
  margin-bottom: 0;
  color: #f1d9a3;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 900;
  line-height: 1.45;
}

.simple-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(241, 217, 163, 0.18);
}

.simple-footer-links nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.simple-footer-links h3 {
  margin: 0 0 10px;
  color: #f1d9a3;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.simple-footer-links a,
.simple-footer-bottom a {
  color: #d7ddda;
  font-size: 0.91rem;
  line-height: 1.45;
  text-decoration: none;
}

.simple-footer-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.simple-footer-links a:hover,
.simple-footer-bottom a:hover {
  color: #f1d9a3;
}

.simple-footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 24px;
}

.simple-footer-bottom p {
  margin: 0;
  color: #aeb7b3;
  font-size: 0.84rem;
  line-height: 1.55;
}

.simple-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.simple-footer-bottom a {
  color: #c8cfcc;
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .simple-site-footer {
    margin-top: 52px;
    padding: 36px 0 28px;
  }

  .simple-footer-wrap {
    width: min(100% - 28px, 1180px);
  }

  .simple-footer-brand {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 24px;
  }

  .simple-footer-brand .simple-footer-tagline {
    margin-bottom: 0;
  }

  .simple-footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
    padding-bottom: 24px;
  }

  .simple-footer-links a {
    min-height: 34px;
  }
}
/* CODEX_SIMPLE_GLOBAL_FOOTER_END */

/* CODEX_LIGHTWEIGHT_COOKIE_NOTICE_START */
.mtp-cookie-notice {
  position: fixed;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 18px;
  left: max(18px, calc((100vw - 1180px) / 2));
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 18px;
  color: var(--charcoal);
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 20px 54px rgba(20, 24, 29, 0.16);
  backdrop-filter: blur(14px);
}

.mtp-cookie-notice[hidden] {
  display: none;
}

.mtp-cookie-notice p {
  max-width: 920px;
  margin: 0;
  color: #555b61;
  font-size: 0.92rem;
  line-height: 1.5;
}

.mtp-cookie-notice a {
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mtp-cookie-notice .button {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .mtp-cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .mtp-cookie-notice p {
    font-size: 0.86rem;
  }

  .mtp-cookie-notice .button {
    width: 100%;
    justify-content: center;
  }
}
/* CODEX_LIGHTWEIGHT_COOKIE_NOTICE_END */

/* CODEX_HOME_HERO_PHOTO_FIX_START */
.home .portrait-stage {
  overflow: hidden;
}

.home .portrait-stage::before {
  z-index: 1;
}

.home .portrait-stage::after {
  z-index: 3;
}

.home .portrait-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(440px, 92%);
  max-width: 92%;
  max-height: 620px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}
/* CODEX_HOME_HERO_PHOTO_FIX_END */

/* CODEX_RESPONSIVE_HEADER_POLISH_START */
.site-header {
  z-index: 50;
}

.site-header .header-inner {
  min-height: 76px;
  padding: 10px 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 22px);
}

.site-header .brand {
  flex: 0 0 auto;
  min-width: 0;
  gap: 10px;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header .brand-mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  font-size: 0.92rem;
}

.site-header .brand-copy,
.site-header .brand-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .brand-name {
  color: var(--ink);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.site-header .brand small {
  display: none;
}

.site-header .main-nav {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

.site-header .main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 18px);
}

.site-header .main-nav li {
  flex: 0 0 auto;
}

.site-header .main-nav .menu-item-has-children {
  position: relative;
}

.site-header .main-nav .menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 12px;
}

.site-header .main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #3e4246;
  font-size: clamp(0.84rem, 0.9vw, 0.92rem);
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header .main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  min-width: 245px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 18px 44px rgba(30, 28, 24, 0.14);
}

.site-header .main-nav .menu-item-has-children:hover > .sub-menu,
.site-header .main-nav .menu-item-has-children:focus-within > .sub-menu {
  display: grid;
  gap: 2px;
}

.site-header .main-nav .sub-menu a {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.site-header .main-nav .sub-menu a:hover,
.site-header .main-nav .sub-menu a:focus-visible {
  background: var(--warm);
}

.site-header .header-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-header .header-call,
.site-header .header-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 clamp(12px, 1.15vw, 17px);
  font-size: clamp(0.84rem, 0.9vw, 0.92rem);
  line-height: 1;
  white-space: nowrap;
}

.site-header .header-call {
  border: 1px solid rgba(201, 24, 43, 0.26);
  color: var(--red);
  background: var(--white);
  box-shadow: none;
}

.nav-toggle,
.nav-mobile-cta,
.site-header .main-nav .nav-mobile-cta {
  display: none;
}

.nav-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--white);
  box-shadow: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(main [id], section[id], article[id]) {
  scroll-margin-top: 92px;
}

@media (max-width: 1180px) {
  .cases-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-index-card {
    min-height: 570px;
  }
}

@media (max-width: 820px) {
  .cases-index {
    grid-template-columns: 1fr;
  }

  .cases-index-card {
    min-height: auto;
  }

  .cases-index-button {
    margin-top: 22px;
  }
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    width: min(1180px, calc(100% - 32px));
  }

  .site-header .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .site-header .main-nav ul {
    gap: 11px;
  }

  .site-header .main-nav a,
  .site-header .header-call,
  .site-header .header-cta {
    font-size: 0.84rem;
  }

  .site-header .header-actions {
    gap: 6px;
  }

  .site-header .header-call,
  .site-header .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }
}

@media (max-width: 1120px) {
  .site-header .header-inner {
    position: relative;
    min-height: 64px;
    padding: 8px 0;
    align-items: center;
    flex-direction: row;
  }

  .site-header .brand {
    max-width: min(34vw, 245px);
  }

  .site-header .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .site-header .brand-name {
    font-size: 0.96rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
  }

  .site-header .header-actions {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 22px 50px rgba(30, 28, 24, 0.14);
  }

  .site-header.nav-open .main-nav {
    display: block;
  }

  .site-header .main-nav ul {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-header .main-nav .menu-item-has-children::after {
    display: none;
  }

  .site-header .main-nav .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 2px 0 6px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .main-nav a {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .site-header .main-nav .sub-menu a {
    min-height: 38px;
    color: var(--muted);
    font-size: 0.9rem;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible {
    background: var(--warm);
  }

  .site-header .main-nav .nav-mobile-cta {
    display: none;
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    padding: 0 14px;
    color: var(--white);
    background: var(--red);
  }

  :where(main [id], section[id], article[id]) {
    scroll-margin-top: 78px;
  }
}

@media (max-width: 520px) {
  .site-header .header-inner {
    width: min(1180px, calc(100% - 22px));
    min-height: 60px;
    padding: 7px 0;
    gap: 6px;
  }

  .site-header .brand {
    flex: 1 1 auto;
    max-width: none;
    gap: 7px;
  }

  .site-header .brand-copy {
    flex: 1 1 auto;
  }

  .site-header .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .site-header .brand-name {
    font-size: 0.82rem;
  }

  .site-header .header-actions {
    gap: 5px;
  }

  .site-header .header-call,
  .site-header .header-cta {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

@media (max-width: 380px) {
  .site-header .brand-mark {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .site-header .brand {
    gap: 6px;
  }

  .site-header .brand-name {
    font-size: 0.72rem;
  }

  .site-header .header-call,
  .site-header .header-cta {
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.66rem;
  }

  .nav-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }
}
/* CODEX_RESPONSIVE_HEADER_POLISH_END */

/* CODEX_HOME_LISTINGS_CTA_POLISH_START */
.home .home-listings-engine {
  padding-bottom: clamp(54px, 6vw, 82px);
}

.home .home-listing-grid {
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 24px);
}

.home .home-listing-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid rgba(222, 216, 204, 0.92);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(30, 28, 24, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home .home-listing-card:hover,
.home .home-listing-card:focus-visible {
  border-color: rgba(201, 24, 43, 0.24);
  box-shadow: 0 22px 52px rgba(30, 28, 24, 0.13);
  transform: translateY(-3px);
}

.home .home-listing-card .listing-thumb {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
}

.home .home-listing-card .listing-thumb::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(21, 23, 25, 0) 45%, rgba(21, 23, 25, 0.44) 100%);
  pointer-events: none;
}

.home .home-listing-card .listing-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.home .home-listing-card .listing-thumb-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(21, 23, 25, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.home .home-listing-card .listing-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: clamp(18px, 2vw, 22px);
}

.home .home-listing-card .tag {
  margin-bottom: 10px;
}

.home .home-listing-card h3 {
  margin: 0;
  font-size: clamp(1.16rem, 1.35vw, 1.32rem);
  line-height: 1.18;
}

.home .home-listing-card p {
  margin: 10px 0 18px;
  line-height: 1.55;
}

.home .listing-card-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-size: 0.88rem;
  font-weight: 850;
}

.home .home-next-step {
  padding-top: clamp(42px, 5vw, 62px);
  padding-bottom: clamp(46px, 5vw, 66px);
}

.home .home-next-step-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 22px 54px rgba(149, 20, 36, 0.18);
}

.home .home-next-step-band .eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.home .home-next-step-band h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.home .home-next-step-band p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
}

.home .home-next-step-band .button {
  align-self: end;
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .home .home-next-step-band {
    grid-template-columns: 1fr;
  }

  .home .home-next-step-band .button {
    align-self: start;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .home .home-listings-engine {
    padding-bottom: 44px;
  }

  .home .home-listing-grid {
    gap: 18px;
  }

  .home .home-listing-card .listing-body {
    padding: 18px;
  }

  .home .home-next-step {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .home .home-next-step-band {
    padding: 24px;
    border-radius: 14px;
  }

  .home .home-next-step-band h2 {
    line-height: 1.05;
  }
}
/* CODEX_HOME_LISTINGS_CTA_POLISH_END */

/* CODEX_AMO_LISTING_POLISH_START */
.amo-residence-listing .amo-hero-facts div {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.amo-residence-listing .amo-hero-facts b {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.amo-residence-listing .unit-project-facts {
  background: var(--warm);
}

.amo-residence-listing .unit-project-facts .listing-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.amo-residence-listing .unit-project-facts .listing-section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.amo-residence-listing .combined-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.amo-residence-listing .combined-fact-group {
  overflow: hidden;
  border: 1px solid rgba(41, 45, 49, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(30, 28, 24, 0.06);
}

.amo-residence-listing .combined-fact-group h3 {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(41, 45, 49, 0.1);
  color: var(--charcoal);
  background: #f8f4ed;
  font-size: 1.05rem;
}

.amo-residence-listing .combined-fact-list {
  display: grid;
}

.amo-residence-listing .combined-fact-list div {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 13px 20px;
  border-top: 1px solid rgba(41, 45, 49, 0.08);
}

.amo-residence-listing .combined-fact-list div:first-child {
  border-top: 0;
}

.amo-residence-listing .combined-fact-list span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amo-residence-listing .combined-fact-list strong {
  color: var(--charcoal);
  font-size: 0.96rem;
  line-height: 1.45;
}

.amo-residence-listing .amo-gallery figure {
  background: #f8f4ed;
}

.amo-residence-listing .amo-gallery img {
  object-position: center;
}

.amo-residence-listing .amo-final-cta {
  padding-top: 72px;
}

.amo-residence-listing .amo-viewing-panel {
  align-items: center;
  background: #20362f;
}

.amo-residence-listing .amo-viewing-panel h2 {
  color: var(--white);
}

.amo-residence-listing .amo-viewing-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.amo-residence-listing .amo-viewing-panel .eyebrow {
  color: #f0c66f;
}

@media (max-width: 900px) {
  .amo-residence-listing .combined-facts-grid {
    grid-template-columns: 1fr;
  }

  .amo-residence-listing .combined-fact-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 16px;
  }

  .amo-residence-listing .amo-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amo-residence-listing .amo-hero-facts div {
    min-height: 72px;
    padding: 18px;
  }

  .amo-residence-listing .amo-final-cta {
    padding-top: 54px;
  }
}
/* CODEX_AMO_LISTING_POLISH_END */

/* CODEX_LISTING_AMO_ALIGNMENT_START */
.listing-page--amo-aligned .listing-hero-actions,
.listing-page--amo-aligned .listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.listing-page--amo-aligned .listing-actions .button.secondary {
  border: 1px solid rgba(32, 54, 47, 0.24);
  color: var(--charcoal);
  background: var(--white);
}

.listing-page--amo-aligned .listing-hero-actions .button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.listing-page--amo-aligned .amo-hero-facts div {
  min-height: 78px;
  display: flex;
  align-items: center;
}

.listing-page--amo-aligned .amo-hero-facts b {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.listing-page--amo-aligned .listing-section {
  padding-top: clamp(58px, 6vw, 78px);
  padding-bottom: clamp(58px, 6vw, 78px);
}

.listing-page--amo-aligned .listing-section .section-inner > .eyebrow,
.listing-page--amo-aligned .listing-section-heading .eyebrow,
.listing-page--amo-aligned .listing-analysis .eyebrow {
  margin-bottom: 10px;
}

.listing-page--amo-aligned .listing-section h2 {
  margin-bottom: 16px;
}

.listing-page--amo-aligned .listing-section p:last-child {
  margin-bottom: 0;
}

.listing-page--amo-aligned .listing-section-heading {
  margin-bottom: clamp(24px, 2.7vw, 34px);
}

.listing-page--amo-aligned .listing-section-heading p:not(.eyebrow) {
  max-width: 760px;
}

.listing-page--amo-aligned .listing-analysis {
  row-gap: clamp(20px, 2.4vw, 32px);
}

.listing-page--amo-aligned .listing-analysis > div > p + p {
  margin-top: 16px;
}

.listing-page .listing-research-grid,
.listing-page--amo-aligned .listing-research-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.listing-page .listing-research-grid.three,
.listing-page--amo-aligned .listing-research-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-page .listing-research-grid .card,
.listing-page--amo-aligned .listing-research-grid .card {
  padding: clamp(22px, 2.4vw, 30px);
  min-height: 100%;
}

.listing-page .listing-research-grid .card h3,
.listing-page--amo-aligned .listing-research-grid .card h3 {
  margin-top: 0;
}

.listing-page--amo-aligned .unit-project-facts {
  background: var(--warm);
}

.listing-page--amo-aligned .unit-project-facts .listing-section-heading {
  max-width: 780px;
  margin-bottom: clamp(24px, 2.5vw, 30px);
}

.listing-page--amo-aligned .unit-project-facts .listing-section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.listing-page--amo-aligned .combined-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.listing-page--amo-aligned .combined-fact-group {
  overflow: hidden;
  border: 1px solid rgba(41, 45, 49, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(30, 28, 24, 0.06);
}

.listing-page--amo-aligned .combined-fact-group h3 {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(41, 45, 49, 0.1);
  color: var(--charcoal);
  background: #f8f4ed;
  font-size: 1.05rem;
}

.listing-page--amo-aligned .combined-fact-list {
  display: grid;
  margin: 0;
}

.listing-page--amo-aligned .combined-fact-list div {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 15px 22px;
  border-top: 1px solid rgba(41, 45, 49, 0.08);
}

.listing-page--amo-aligned .combined-fact-list div:first-child {
  border-top: 0;
}

.listing-page--amo-aligned .combined-fact-list dt,
.listing-page--amo-aligned .combined-fact-list span {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-page--amo-aligned .combined-fact-list dd,
.listing-page--amo-aligned .combined-fact-list strong {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.45;
}

.listing-page--amo-aligned .listing-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  max-width: 100%;
}

.listing-page--amo-aligned .case-photo-grid.listing-gallery figure,
.listing-page--amo-aligned .case-photo-grid.listing-gallery figure:first-child {
  grid-row: auto;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.listing-page--amo-aligned .case-photo-grid.listing-gallery figure:first-child {
  grid-column: auto;
}

.listing-page--amo-aligned .case-photo-grid.listing-gallery img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 430px);
  object-fit: cover;
  object-position: center;
  background: var(--white);
}

.listing-page--amo-aligned .case-photo-grid.listing-gallery figcaption {
  padding: 14px 18px;
  color: var(--muted);
  text-align: center;
}

.listing-page--amo-aligned .listing-gallery--contain img {
  object-fit: contain;
}

.listing-page--robertson-edge .case-photo-grid.listing-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.listing-page--robertson-edge .case-photo-grid.listing-gallery figure,
.listing-page--robertson-edge .case-photo-grid.listing-gallery figure:first-child {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  min-height: 0;
  flex-direction: column;
  aspect-ratio: auto;
}

.listing-page--robertson-edge .case-photo-grid.listing-gallery img {
  height: clamp(320px, 27vw, 390px);
  flex: 0 0 auto;
}

.listing-page--robertson-edge .case-photo-grid.listing-gallery figcaption {
  min-height: 58px;
  padding: 15px 18px;
  line-height: 1.35;
}

.listing-page--cairnhill-nine .case-photo-grid.listing-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.listing-page--cairnhill-nine .case-photo-grid.listing-gallery figure,
.listing-page--cairnhill-nine .case-photo-grid.listing-gallery figure:first-child {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  min-height: 0;
  flex-direction: column;
  aspect-ratio: auto;
}

.listing-page--cairnhill-nine .case-photo-grid.listing-gallery img {
  height: clamp(320px, 27vw, 390px);
  flex: 0 0 auto;
}

.listing-page--cairnhill-nine .case-photo-grid.listing-gallery figcaption {
  min-height: 58px;
  padding: 15px 18px;
  line-height: 1.35;
  text-align: center;
}

.listing-page--promenade-pelikat .case-photo-grid.listing-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.listing-page--promenade-pelikat .case-photo-grid.listing-gallery figure,
.listing-page--promenade-pelikat .case-photo-grid.listing-gallery figure:first-child {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  min-height: 0;
  flex-direction: column;
  aspect-ratio: auto;
}

.listing-page--promenade-pelikat .case-photo-grid.listing-gallery img {
  height: clamp(320px, 27vw, 390px);
  flex: 0 0 auto;
  object-fit: contain;
}

.listing-page--promenade-pelikat .case-photo-grid.listing-gallery figcaption {
  min-height: 58px;
  padding: 15px 18px;
  line-height: 1.35;
  text-align: center;
}

.listing-page--amo-aligned .floor-plan-panel {
  margin-top: clamp(22px, 2.4vw, 30px);
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.listing-page--amo-aligned .floor-plan-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.listing-page--amo-aligned .amo-final-cta {
  padding-top: 62px;
  padding-bottom: clamp(58px, 6vw, 78px);
}

.listing-page--amo-aligned .amo-viewing-panel {
  align-items: center;
  background: #20362f;
}

.listing-page--amo-aligned .amo-viewing-panel h2 {
  color: var(--white);
}

.listing-page--amo-aligned .amo-viewing-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.listing-page--amo-aligned .amo-viewing-panel .eyebrow {
  color: #f0c66f;
}

.listing-page--robertson-edge .amo-final-cta {
  padding-top: clamp(52px, 5.8vw, 68px);
  padding-bottom: clamp(58px, 6vw, 78px);
}

.listing-page--robertson-edge .amo-viewing-panel {
  gap: clamp(22px, 3vw, 32px);
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: 8px;
}

.listing-page--robertson-edge .amo-viewing-panel > div {
  max-width: 720px;
}

.listing-page--robertson-edge .amo-viewing-panel .eyebrow {
  margin-bottom: 12px;
}

.listing-page--robertson-edge .amo-viewing-panel h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.06;
}

.listing-page--robertson-edge .amo-viewing-panel p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.listing-page--robertson-edge .amo-viewing-panel .button {
  flex: 0 0 auto;
  align-self: center;
}

.listing-page--cairnhill-nine .amo-final-cta {
  padding-top: clamp(52px, 5.8vw, 68px);
  padding-bottom: clamp(58px, 6vw, 78px);
}

.listing-page--cairnhill-nine .amo-viewing-panel {
  gap: clamp(22px, 3vw, 32px);
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: 8px;
}

.listing-page--cairnhill-nine .amo-viewing-panel > div {
  max-width: 720px;
}

.listing-page--cairnhill-nine .amo-viewing-panel .eyebrow {
  margin-bottom: 12px;
}

.listing-page--cairnhill-nine .amo-viewing-panel h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.06;
}

.listing-page--cairnhill-nine .amo-viewing-panel p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.listing-page--cairnhill-nine .amo-viewing-panel .button {
  flex: 0 0 auto;
  align-self: center;
}

.listing-page--promenade-pelikat .amo-final-cta {
  padding-top: clamp(52px, 5.8vw, 68px);
  padding-bottom: clamp(58px, 6vw, 78px);
}

.listing-page--promenade-pelikat .amo-viewing-panel {
  gap: clamp(22px, 3vw, 32px);
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: 8px;
}

.listing-page--promenade-pelikat .amo-viewing-panel > div {
  max-width: 720px;
}

.listing-page--promenade-pelikat .amo-viewing-panel .eyebrow {
  margin-bottom: 12px;
}

.listing-page--promenade-pelikat .amo-viewing-panel h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.06;
}

.listing-page--promenade-pelikat .amo-viewing-panel p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.listing-page--promenade-pelikat .amo-viewing-panel .button {
  flex: 0 0 auto;
  align-self: center;
}

.listing-page--amo-aligned .listing-faq-list {
  display: grid;
  gap: clamp(12px, 1.4vw, 16px);
}

.listing-page--amo-aligned .listing-faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.listing-page--amo-aligned .listing-faq-list summary {
  cursor: pointer;
  padding: 24px 28px;
  color: var(--charcoal);
  font-weight: 850;
  line-height: 1.25;
  list-style: none;
}

.listing-page--amo-aligned .listing-faq-list summary::-webkit-details-marker {
  display: none;
}

.listing-page--amo-aligned .listing-faq-list summary::before {
  content: "›";
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.18s ease;
}

.listing-page--amo-aligned .listing-faq-list details[open] summary::before {
  transform: rotate(90deg);
}

.listing-page--amo-aligned .listing-faq-list p {
  margin: 0;
  padding: 0 28px 26px 52px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .listing-page--amo-aligned .listing-section {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .listing-page--amo-aligned .listing-section-heading {
    margin-bottom: 22px;
  }

  .listing-page--amo-aligned .combined-facts-grid {
    grid-template-columns: 1fr;
  }

  .listing-page--amo-aligned .combined-fact-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 16px;
  }

  .listing-page--amo-aligned .amo-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-page--amo-aligned .amo-hero-facts div {
    min-height: 72px;
    padding: 18px;
  }

  .listing-page--amo-aligned .case-photo-grid.listing-gallery img {
    height: auto;
  }

  .listing-page--amo-aligned .case-photo-grid.listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-page--robertson-edge .case-photo-grid.listing-gallery img {
    height: 360px;
  }

  .listing-page--robertson-edge .case-photo-grid.listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-page--cairnhill-nine .case-photo-grid.listing-gallery img {
    height: 360px;
  }

  .listing-page--cairnhill-nine .case-photo-grid.listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-page--promenade-pelikat .case-photo-grid.listing-gallery img {
    height: 360px;
  }

  .listing-page--promenade-pelikat .case-photo-grid.listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-page--amo-aligned .amo-final-cta {
    padding-top: 48px;
  }

  .listing-page--robertson-edge .amo-viewing-panel {
    align-items: flex-start;
  }

  .listing-page--cairnhill-nine .amo-viewing-panel {
    align-items: flex-start;
  }

  .listing-page--promenade-pelikat .amo-viewing-panel {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .listing-page--amo-aligned .listing-section {
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .listing-page--amo-aligned .listing-section-heading {
    margin-bottom: 18px;
  }

  .listing-page .listing-research-grid.three,
  .listing-page--amo-aligned .listing-research-grid.three {
    grid-template-columns: 1fr;
  }

  .listing-page .listing-research-grid .card,
  .listing-page--amo-aligned .listing-research-grid .card {
    padding: 22px;
  }

  .listing-page--amo-aligned .listing-hero-actions,
  .listing-page--amo-aligned .listing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-page--amo-aligned .amo-hero-facts {
    grid-template-columns: 1fr;
  }

  .listing-page--amo-aligned .listing-faq-list summary {
    padding: 18px 18px;
  }

  .listing-page--amo-aligned .listing-faq-list p {
    padding: 0 18px 22px 38px;
  }

  .listing-page--robertson-edge .case-photo-grid.listing-gallery {
    gap: 18px;
  }

  .listing-page--robertson-edge .case-photo-grid.listing-gallery img {
    height: auto;
  }

  .listing-page--cairnhill-nine .case-photo-grid.listing-gallery {
    gap: 18px;
  }

  .listing-page--cairnhill-nine .case-photo-grid.listing-gallery img {
    height: auto;
  }

  .listing-page--promenade-pelikat .case-photo-grid.listing-gallery {
    gap: 18px;
  }

  .listing-page--promenade-pelikat .case-photo-grid.listing-gallery img {
    height: auto;
  }

  .listing-page--robertson-edge .amo-final-cta {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .listing-page--robertson-edge .amo-viewing-panel {
    padding: 24px 20px;
  }

  .listing-page--cairnhill-nine .amo-final-cta {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .listing-page--cairnhill-nine .amo-viewing-panel {
    padding: 24px 20px;
  }

  .listing-page--promenade-pelikat .amo-final-cta {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .listing-page--promenade-pelikat .amo-viewing-panel {
    padding: 24px 20px;
  }
}
/* CODEX_LISTING_AMO_ALIGNMENT_END */

/* CODEX_PRELIVE_INTERNAL_LINKING_START */
.home-support-links,
.home-next-step-links,
.nlp-support-links {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-support-links a,
.home-next-step-links a,
.nlp-support-links a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-band a:not(.button),
.seller-final-cta__inner a:not(.button),
.amo-viewing-panel a:not(.button),
.home .home-next-step-band .home-next-step-links a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.72);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.contact-band a:not(.button):hover,
.contact-band a:not(.button):focus-visible,
.seller-final-cta__inner a:not(.button):hover,
.seller-final-cta__inner a:not(.button):focus-visible,
.amo-viewing-panel a:not(.button):hover,
.amo-viewing-panel a:not(.button):focus-visible,
.home .home-next-step-band .home-next-step-links a:hover,
.home .home-next-step-band .home-next-step-links a:focus-visible {
  color: var(--white);
  text-decoration-color: var(--white);
}

.mtp-internal-links {
  margin-top: clamp(20px, 3vw, 34px);
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mtp-internal-links h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.2;
}

.mtp-internal-note {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.mtp-internal-note a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mtp-internal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mtp-internal-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-dark);
  background: var(--paper);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.mtp-internal-link-list a:hover,
.mtp-internal-link-list a:focus-visible {
  border-color: rgba(201, 24, 43, 0.35);
  color: var(--white);
  background: var(--red);
}

.entry-content .mtp-internal-links,
.lead .mtp-internal-links {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .mtp-internal-link-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mtp-internal-link-list a {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}
/* CODEX_PRELIVE_INTERNAL_LINKING_END */

/* CODEX_PILLAR_LEAD_MAGNET_PAGES_START */
.pillar-page .seller-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 24, 43, 0.12), transparent 30%),
    linear-gradient(135deg, #fff8f1 0%, #fff 54%, #f7f0e8 100%);
}

.pillar-page--sell-condo-singapore .seller-hero--portrait,
.pillar-page--sell-hdb-singapore .seller-hero--portrait {
  min-height: auto;
  padding: clamp(62px, 6.8vw, 92px) 0 clamp(54px, 5.8vw, 78px);
  color: var(--ink);
}

.pillar-page--sell-condo-singapore .seller-hero__grid,
.pillar-page--sell-hdb-singapore .seller-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.86fr);
  gap: clamp(34px, 5.4vw, 76px);
}

.seller-landing-v2.pillar-page--sell-condo-singapore .seller-hero--portrait h1,
.seller-landing-v2.pillar-page--sell-hdb-singapore .seller-hero--portrait h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.85rem, 5.3vw, 4.9rem);
  letter-spacing: -0.055em;
}

.seller-landing-v2.pillar-page--sell-condo-singapore .seller-hero--portrait .seller-lead,
.seller-landing-v2.pillar-page--sell-hdb-singapore .seller-hero--portrait .seller-lead {
  max-width: 620px;
  color: #50555a;
}

.pillar-page--sell-condo-singapore .seller-hero__copy .eyebrow,
.pillar-page--sell-hdb-singapore .seller-hero__copy .eyebrow {
  color: var(--red);
}

.pillar-page--sell-condo-singapore .seller-hero__copy .button.secondary,
.pillar-page--sell-hdb-singapore .seller-hero__copy .button.secondary {
  display: none;
}

.pillar-page--sell-condo-singapore .pillar-summary-card,
.pillar-page--sell-hdb-singapore .pillar-summary-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(31, 35, 38, 0.08);
}

.pillar-page--sell-condo-singapore .pillar-summary-card h2,
.pillar-page--sell-hdb-singapore .pillar-summary-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  letter-spacing: -0.05em;
}

.pillar-page--sell-condo-singapore .pillar-summary-card p,
.pillar-page--sell-hdb-singapore .pillar-summary-card p {
  color: #5a6066;
}

.pillar-page--sell-condo-singapore .pillar-summary-card ul,
.pillar-page--sell-hdb-singapore .pillar-summary-card ul {
  color: #60666c;
}

.pillar-page--sell-condo-singapore .seller-trust-strip,
.pillar-page--sell-hdb-singapore .seller-trust-strip {
  border-top: 1px solid rgba(222, 216, 204, 0.86);
  background: #fbfaf7;
}

.pillar-page--sell-condo-singapore .seller-trust-strip__inner,
.pillar-page--sell-hdb-singapore .seller-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
  background: transparent;
}

.pillar-page--sell-condo-singapore .seller-trust-strip span,
.pillar-page--sell-hdb-singapore .seller-trust-strip span {
  min-height: 72px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 35, 38, 0.04);
}

.pillar-page--property-valuation-singapore .seller-hero--portrait {
  min-height: auto;
  padding: clamp(62px, 6.8vw, 92px) 0 clamp(54px, 5.8vw, 78px);
  color: var(--ink);
}

.pillar-page--property-valuation-singapore .seller-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.86fr);
  gap: clamp(34px, 5.4vw, 76px);
}

.seller-landing-v2.pillar-page--property-valuation-singapore .seller-hero--portrait h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.85rem, 5.3vw, 4.9rem);
  letter-spacing: -0.055em;
}

.seller-landing-v2.pillar-page--property-valuation-singapore .seller-hero--portrait .seller-lead {
  max-width: 620px;
  color: #50555a;
}

.pillar-page--property-valuation-singapore .seller-hero__copy .eyebrow {
  color: var(--red);
}

.pillar-page--property-valuation-singapore .seller-hero__copy .button.secondary {
  display: none;
}

.pillar-page--property-valuation-singapore .pillar-summary-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(31, 35, 38, 0.08);
}

.pillar-page--property-valuation-singapore .pillar-summary-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  letter-spacing: -0.05em;
}

.pillar-page--property-valuation-singapore .pillar-summary-card p {
  color: #5a6066;
}

.pillar-page--property-valuation-singapore .pillar-summary-card ul {
  color: #60666c;
}

.pillar-page--property-valuation-singapore .seller-trust-strip {
  border-top: 1px solid rgba(222, 216, 204, 0.86);
  background: #fbfaf7;
}

.pillar-page--property-valuation-singapore .seller-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
  background: transparent;
}

.pillar-page--property-valuation-singapore .seller-trust-strip span {
  min-height: 72px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 35, 38, 0.04);
}

.pillar-page--property-asset-progression .seller-process-band .seller-process,
.pillar-page--property-valuation-singapore .seller-process-band .seller-process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pillar-page--property-asset-progression .seller-process-band .seller-process-step,
.pillar-page--property-valuation-singapore .seller-process-band .seller-process-step {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 100%;
}

.pillar-page--property-asset-progression .seller-hero--portrait {
  min-height: auto;
  padding: clamp(62px, 6.8vw, 92px) 0 clamp(54px, 5.8vw, 78px);
  color: var(--ink);
}

.pillar-page--property-asset-progression .seller-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.86fr);
  gap: clamp(34px, 5.4vw, 76px);
}

.seller-landing-v2.pillar-page--property-asset-progression .seller-hero--portrait h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.85rem, 5.3vw, 4.9rem);
  letter-spacing: -0.055em;
}

.seller-landing-v2.pillar-page--property-asset-progression .seller-hero--portrait .seller-lead {
  max-width: 620px;
  color: #50555a;
}

.pillar-page--property-asset-progression .seller-hero__copy .eyebrow {
  color: var(--red);
}

.pillar-page--property-asset-progression .seller-hero__copy .button.secondary {
  display: none;
}

.pillar-page--property-asset-progression .pillar-summary-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(31, 35, 38, 0.08);
}

.pillar-page--property-asset-progression .pillar-summary-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  letter-spacing: -0.05em;
}

.pillar-page--property-asset-progression .pillar-summary-card p {
  color: #5a6066;
}

.pillar-page--property-asset-progression .pillar-summary-card ul {
  color: #60666c;
}

.pillar-page--property-asset-progression .seller-trust-strip {
  border-top: 1px solid rgba(222, 216, 204, 0.86);
  background: #fbfaf7;
}

.pillar-page--property-asset-progression .seller-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
  background: transparent;
}

.pillar-page--property-asset-progression .seller-trust-strip span {
  min-height: 72px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 35, 38, 0.04);
}

.pillar-summary-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.pillar-summary-card li + li {
  margin-top: 8px;
}

.pillar-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.pillar-info-card {
  min-height: 100%;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(20, 24, 29, 0.07);
}

.pillar-info-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.25;
}

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

.pillar-related-links {
  margin-top: 0;
}

.pillar-form select {
  appearance: auto;
}

@media (max-width: 1040px) {
  .pillar-page--property-asset-progression .seller-trust-strip__inner,
  .pillar-page--property-valuation-singapore .seller-trust-strip__inner,
  .pillar-page--sell-condo-singapore .seller-trust-strip__inner,
  .pillar-page--sell-hdb-singapore .seller-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-page--property-asset-progression .seller-trust-strip span:nth-child(5),
  .pillar-page--property-valuation-singapore .seller-trust-strip span:nth-child(5),
  .pillar-page--sell-condo-singapore .seller-trust-strip span:nth-child(5),
  .pillar-page--sell-hdb-singapore .seller-trust-strip span:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .pillar-page--property-asset-progression .seller-hero--portrait,
  .pillar-page--property-valuation-singapore .seller-hero--portrait,
  .pillar-page--sell-condo-singapore .seller-hero--portrait,
  .pillar-page--sell-hdb-singapore .seller-hero--portrait {
    padding: 36px 0 40px;
  }

  .pillar-page--property-asset-progression .seller-hero__grid,
  .pillar-page--property-valuation-singapore .seller-hero__grid,
  .pillar-page--sell-condo-singapore .seller-hero__grid,
  .pillar-page--sell-hdb-singapore .seller-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .seller-landing-v2.pillar-page--property-asset-progression .seller-hero--portrait h1,
  .seller-landing-v2.pillar-page--property-valuation-singapore .seller-hero--portrait h1,
  .seller-landing-v2.pillar-page--sell-condo-singapore .seller-hero--portrait h1,
  .seller-landing-v2.pillar-page--sell-hdb-singapore .seller-hero--portrait h1 {
    font-size: clamp(2.35rem, 10vw, 3.05rem);
  }

  .pillar-page--property-asset-progression .pillar-summary-card,
  .pillar-page--property-valuation-singapore .pillar-summary-card,
  .pillar-page--sell-condo-singapore .pillar-summary-card,
  .pillar-page--sell-hdb-singapore .pillar-summary-card {
    padding: 22px;
    border-radius: 18px;
  }

  .pillar-page--property-asset-progression .pillar-summary-card h2,
  .pillar-page--property-valuation-singapore .pillar-summary-card h2,
  .pillar-page--sell-condo-singapore .pillar-summary-card h2,
  .pillar-page--sell-hdb-singapore .pillar-summary-card h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .pillar-page--property-asset-progression .seller-trust-strip__inner,
  .pillar-page--property-valuation-singapore .seller-trust-strip__inner,
  .pillar-page--sell-condo-singapore .seller-trust-strip__inner,
  .pillar-page--sell-hdb-singapore .seller-trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .pillar-page--property-asset-progression .seller-trust-strip span:nth-child(5),
  .pillar-page--property-valuation-singapore .seller-trust-strip span:nth-child(5),
  .pillar-page--sell-condo-singapore .seller-trust-strip span:nth-child(5),
  .pillar-page--sell-hdb-singapore .seller-trust-strip span:nth-child(5) {
    grid-column: auto;
  }

  .pillar-page--property-asset-progression .seller-trust-strip span,
  .pillar-page--property-valuation-singapore .seller-trust-strip span,
  .pillar-page--sell-condo-singapore .seller-trust-strip span,
  .pillar-page--sell-hdb-singapore .seller-trust-strip span {
    min-height: 50px;
    justify-content: flex-start;
    text-align: left;
  }

  .pillar-page--property-asset-progression .seller-process-band .seller-process,
  .pillar-page--property-valuation-singapore .seller-process-band .seller-process {
    grid-template-columns: 1fr;
  }

  .pillar-page--property-asset-progression .seller-process-band .seller-process-step,
  .pillar-page--property-valuation-singapore .seller-process-band .seller-process-step {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .pillar-card-grid {
    grid-template-columns: 1fr;
  }

  .pillar-summary-card ul {
    padding-left: 18px;
  }
}
/* CODEX_PILLAR_LEAD_MAGNET_PAGES_END */

/* CODEX_MONTHLY_INSTALMENT_CALCULATOR_START */
.mortgage-calculator-page .seller-hero--portrait {
  min-height: auto;
  padding: clamp(62px, 6.8vw, 92px) 0 clamp(54px, 5.8vw, 78px);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 24, 43, 0.12), transparent 34%),
    linear-gradient(115deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.94) 52%, rgba(243, 238, 230, 0.98) 100%);
}

.mortgage-calculator-page .seller-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.86fr);
  gap: clamp(34px, 5.4vw, 76px);
}

.mortgage-calculator-page .seller-hero--portrait h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.85rem, 5.3vw, 4.9rem);
  letter-spacing: -0.055em;
}

.mortgage-calculator-page .seller-hero--portrait .seller-lead {
  max-width: 620px;
  color: #50555a;
}

.mortgage-calculator-page .seller-hero__copy .eyebrow {
  color: var(--red);
}

.mortgage-calculator-page .seller-hero__copy .button.secondary {
  display: inline-flex;
  border-color: rgba(41, 45, 49, 0.22);
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(31, 35, 38, 0.08);
}

.mortgage-calculator-page .pillar-summary-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(222, 216, 204, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 54px rgba(31, 35, 38, 0.08);
}

.mortgage-calculator-page .pillar-summary-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  letter-spacing: -0.05em;
}

.mortgage-calculator-page .pillar-summary-card p {
  color: #5a6066;
}

.mortgage-calculator-page .pillar-summary-card ul {
  color: #60666c;
}

.mortgage-calculator-page .seller-trust-strip {
  border-top: 1px solid rgba(222, 216, 204, 0.86);
  background: #fbfaf7;
}

.mortgage-calculator-page .seller-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
  background: transparent;
}

.mortgage-calculator-page .seller-trust-strip span {
  min-height: 72px;
  border: 1px solid rgba(222, 216, 204, 0.9);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 35, 38, 0.04);
}

.mortgage-calculator-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(20, 24, 29, 0.08);
}

.mortgage-calculator-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mortgage-calculator-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
}

.mortgage-input-prefix,
.mortgage-input-suffix {
  display: flex;
  min-height: 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.mortgage-input-prefix span,
.mortgage-input-suffix span {
  flex: 0 0 auto;
  padding: 0 15px;
  color: var(--muted);
  font-weight: 900;
}

.mortgage-calculator-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 850;
}

.mortgage-calculator-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(201, 24, 43, 0.2);
}

.mortgage-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #16191c);
}

.mortgage-results .eyebrow,
.mortgage-results span,
.mortgage-results dt {
  color: rgba(255, 255, 255, 0.72);
}

.mortgage-results strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1;
}

.mortgage-results dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.mortgage-results dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mortgage-results dt,
.mortgage-results dd {
  margin: 0;
}

.mortgage-results dd {
  color: var(--white);
  font-weight: 900;
  text-align: right;
}

.mortgage-disclaimer {
  max-width: 940px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.mortgage-banker-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(201, 24, 43, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 233, 236, 0.58)),
    var(--white);
  box-shadow: 0 16px 42px rgba(20, 24, 29, 0.07);
}

.mortgage-banker-cta h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mortgage-banker-cta p {
  max-width: 850px;
  margin: 0;
  color: #555b61;
}

.mortgage-banker-cta strong {
  color: var(--red-dark);
  font-weight: 900;
}

.mortgage-banker-cta .eyebrow {
  margin-bottom: 8px;
  color: var(--red);
}

.mortgage-banker-cta__note {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 0.94rem;
}

.mortgage-banker-cta .button {
  white-space: nowrap;
}

.mortgage-planning-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .mortgage-calculator-card,
  .mortgage-calculator-form,
  .mortgage-planning-grid {
    grid-template-columns: 1fr;
  }

  .mortgage-calculator-page .seller-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mortgage-calculator-page .seller-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mortgage-calculator-page .seller-trust-strip span:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .mortgage-calculator-page .seller-hero--portrait {
    padding: 36px 0 40px;
  }

  .mortgage-calculator-page .seller-hero--portrait h1 {
    font-size: clamp(2.35rem, 10vw, 3.05rem);
  }

  .mortgage-calculator-page .seller-actions {
    gap: 10px;
  }

  .mortgage-calculator-page .seller-actions .button {
    width: 100%;
    justify-content: center;
  }

  .mortgage-banker-cta {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .mortgage-banker-cta .button {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .mortgage-calculator-page .pillar-summary-card {
    padding: 22px;
    border-radius: 18px;
  }

  .mortgage-calculator-page .pillar-summary-card h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .mortgage-calculator-card {
    padding: 16px;
    border-radius: 18px;
  }

  .mortgage-calculator-page .seller-trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .mortgage-calculator-page .seller-trust-strip span:nth-child(5) {
    grid-column: auto;
  }

  .mortgage-calculator-page .seller-trust-strip span {
    min-height: 50px;
    justify-content: flex-start;
    text-align: left;
  }

  .mortgage-results dl div {
    display: grid;
    gap: 4px;
  }

  .mortgage-results dd {
    text-align: left;
  }
}
/* CODEX_MONTHLY_INSTALMENT_CALCULATOR_END */

/* CODEX_LIVE_READY_CONVERSION_POLISH_START */
.home .home-situation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 720px;
  margin-top: 16px;
}

.home .home-situation-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(201, 24, 43, 0.2);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
}

.home .home-proof-strip {
  padding: 0 0 clamp(34px, 4vw, 48px);
  background: linear-gradient(115deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 49%, rgba(223, 233, 243, .88) 100%);
}

.home .home-proof-strip__inner {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(30, 28, 24, 0.08);
}

.home .home-proof-strip__inner > p {
  max-width: 760px;
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1.45;
}

.home .home-proof-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.home .home-proof-items span {
  display: grid;
  gap: 4px;
  min-height: 74px;
  align-content: center;
  padding: 14px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.82rem;
  line-height: 1.25;
}

.home .home-proof-items strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.home .home-start-here {
  padding-top: clamp(46px, 5vw, 66px);
}

.home .home-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.home .home-start-card {
  display: grid;
  min-height: 180px;
  align-content: start;
  gap: 12px;
  text-decoration: none;
}

.home .home-start-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.18;
}

.home .home-start-card p {
  margin: 0;
  color: var(--muted);
}

.home .home-start-card span {
  align-self: end;
  color: var(--red-dark);
  font-weight: 900;
}

.mtp-conversion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 28px);
  margin: clamp(24px, 4vw, 42px) 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(201, 24, 43, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 238, 230, 0.82));
}

.mtp-conversion-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.mtp-conversion-cta p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
}

.mtp-conversion-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.mtp-internal-links.services-related-links {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.mtp-internal-links.services-related-links {
  margin-top: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

@media (max-width: 900px) {
  .home .home-proof-items,
  .home .home-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtp-conversion-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .mtp-internal-links.services-related-links {
    width: min(100% - 28px, 1180px);
  }

  .home .home-situation-actions,
  .home .hero-actions,
  .mtp-conversion-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home .home-situation-actions a,
  .home .hero-actions .button,
  .mtp-conversion-cta__actions .button {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .home .home-proof-items,
  .home .home-start-grid {
    grid-template-columns: 1fr;
  }

  .home .home-start-card {
    min-height: auto;
  }
}
/* CODEX_LIVE_READY_CONVERSION_POLISH_END */
