/* MarbLayer 2.5 — conversion-focused homepage journey.
   Loaded after the core theme styles so it can evolve the homepage without
   destabilising inner pages, the visualiser plugin or legacy templates. */

:root {
  --ml-sales-surface: #f9f4f2;
  --ml-sales-surface-2: #eee6df;
  --ml-sales-ink: #1d1d1f;
  --ml-sales-muted: rgba(29, 29, 31, 0.68);
  --ml-sales-border: rgba(29, 29, 31, 0.13);
  --ml-sales-accent: var(--ml-warm-taupe);
}

#why-marblayer,
#finishes,
#applications,
#projects,
#transformations,
#the-system,
#about,
#faq,
#visualise {
  scroll-margin-top: 110px;
}

.ml-sales-section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--ml-sales-surface);
  color: var(--ml-sales-ink);
}

.ml-sales-section:not(.ml-design-freedom):not(.ml-about-sales):nth-of-type(even) {
  background: #fffdfb;
}

.ml-sales-heading {
  max-width: 15ch;
  font-size: clamp(2.15rem, 4.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 300;
}

.ml-sales-copy {
  max-width: 60ch;
  margin: 0;
  color: var(--ml-sales-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.72;
}

.ml-sales-microcopy,
.ml-sales-disclaimer {
  color: rgba(29, 29, 31, 0.55);
  font-size: 0.84rem;
  line-height: 1.6;
}

.ml-sales-disclaimer {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ml-sales-border);
}

.ml-sales-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.ml-sales-section-head .ml-sales-copy {
  align-self: end;
}

.ml-sales-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(168, 157, 146, 0.55);
  border-radius: 50%;
  color: var(--ml-warm-taupe);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ml-sales-icon svg {
  width: 22px;
  height: 22px;
}

.ml-sales-icon--small {
  width: 38px;
  height: 38px;
}

.ml-sales-icon--small svg {
  width: 18px;
  height: 18px;
}

.ml-sales-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.ml-sales-btn-icon svg {
  width: 100%;
  height: 100%;
}

.ml-sales-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.22rem;
}

.ml-sales-text-link span {
  transition: transform 0.2s ease;
}

.ml-sales-text-link:hover span,
.ml-sales-text-link:focus-visible span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero: preserve the approved before/after experience as the first impression.
   -------------------------------------------------------------------------- */
.ml-sales-hero {
  background: var(--ml-marble-black);
}

.ml-sales-hero .ml-hero__slider {
  isolation: isolate;
}

.ml-sales-hero .ml-hero__content {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  background: var(--ml-marble-black);
}

.ml-sales-hero__panel {
  color: var(--ml-marble-white);
  background: var(--ml-marble-black) !important;
  padding: 1.35rem 0 !important;
}

.ml-sales-hero__panel .ml-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--ml-soft-taupe);
}

.ml-sales-hero .ml-hero__heading {
  color: var(--ml-marble-white);
  max-width: 11ch;
  font-size: clamp(2.25rem, 9vw, 4.2rem);
  letter-spacing: -0.035em;
  line-height: 0.97;
  margin-bottom: 0.8rem;
}

.ml-sales-hero .ml-hero__sub {
  color: rgba(249, 244, 242, 0.78);
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.ml-sales-hero .ml-btn {
  min-height: 48px;
  justify-content: center;
}

.ml-sales-hero .ml-btn--primary {
  background: var(--ml-warm-taupe);
  color: var(--ml-marble-black);
}

.ml-sales-hero .ml-btn--primary:hover,
.ml-sales-hero .ml-btn--primary:focus-visible {
  background: var(--ml-marble-white);
  color: var(--ml-marble-black);
}

.ml-sales-hero .ml-sales-hero__visualise {
  color: var(--ml-marble-white);
  border-color: rgba(249, 244, 242, 0.55);
}

.ml-sales-hero .ml-sales-hero__visualise:hover,
.ml-sales-hero .ml-sales-hero__visualise:focus-visible {
  border-color: var(--ml-marble-white);
  background: rgba(249, 244, 242, 0.08);
}

@media (min-width: 700px) {
  .ml-sales-hero .ml-hero__content {
    background: transparent;
  }

  .ml-sales-hero__panel {
    padding: 1.4rem 1.5rem !important;
    background: rgba(22, 24, 25, 0.9) !important;
    backdrop-filter: blur(7px);
    border: 1px solid rgba(249, 244, 242, 0.12);
  }
}

@media (min-width: 1100px) {
  .ml-sales-hero .ml-hero__content {
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .ml-sales-hero__panel {
    max-width: 425px;
    padding: 2rem 2.1rem !important;
    margin-right: 0;
  }

  .ml-sales-hero .ml-hero__heading {
    font-size: clamp(2.65rem, 3.6vw, 4.35rem);
  }
}

/* --------------------------------------------------------------------------
   1. What is MarbLayer?
   -------------------------------------------------------------------------- */
.ml-sales-intro {
  border-bottom: 1px solid var(--ml-sales-border);
}

.ml-sales-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.ml-sales-intro__copy .ml-sales-copy {
  margin-top: 1.5rem;
}

.ml-sales-intro__statement {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--ml-warm-taupe);
  font-size: 0.96rem;
  font-weight: 500;
  max-width: 48ch;
}

.ml-sales-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ml-sales-border);
  border-left: 1px solid var(--ml-sales-border);
}

.ml-sales-feature {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid var(--ml-sales-border);
  border-bottom: 1px solid var(--ml-sales-border);
}

.ml-sales-feature h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.ml-sales-feature p {
  margin: 0.55rem 0 0;
  color: var(--ml-sales-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .ml-sales-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .ml-sales-intro__grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   2. Intercept the natural-marble buyer.
   -------------------------------------------------------------------------- */
.ml-sales-alt {
  background: #fffdfb;
}

.ml-sales-alt__lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.ml-sales-alt__copy {
  align-self: end;
  max-width: 62ch;
  color: var(--ml-sales-muted);
}

.ml-sales-alt__copy p {
  margin: 0 0 1rem;
}

.ml-sales-benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ml-sales-benefit-card {
  border: 1px solid var(--ml-sales-border);
  background: var(--ml-sales-surface);
  overflow: hidden;
}

.ml-sales-benefit-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ml-sales-benefit-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ml-ease);
}

.ml-sales-benefit-card:hover .ml-sales-benefit-card__image img {
  transform: scale(1.035);
}

.ml-sales-benefit-card__body {
  position: relative;
  padding: 1.35rem;
}

.ml-sales-benefit-card__body .ml-sales-icon {
  margin-top: -2.7rem;
  background: var(--ml-sales-surface);
}

.ml-sales-benefit-card h3 {
  margin-top: 0.85rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ml-sales-benefit-card p {
  margin: 0.65rem 0 0;
  color: var(--ml-sales-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (min-width: 620px) {
  .ml-sales-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ml-sales-alt__lead {
    grid-template-columns: 1fr 0.9fr;
    gap: 5rem;
  }

  .ml-sales-benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   3. Visualise Your Wall conversion bridge.
   -------------------------------------------------------------------------- */
.ml-visualiser-bridge {
  background:
    radial-gradient(circle at 12% 12%, rgba(211, 202, 192, 0.45), transparent 34%),
    #f5efea;
  border-top: 1px solid var(--ml-sales-border);
  border-bottom: 1px solid var(--ml-sales-border);
}

.ml-visualiser-bridge__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.ml-visualiser-bridge__copy .ml-sales-copy {
  margin: 1.35rem 0 1.75rem;
}

.ml-visualiser-bridge__copy .ml-sales-microcopy {
  max-width: 52ch;
  margin: 1rem 0 0;
}

.ml-visualiser-demo {
  border: 1px solid var(--ml-sales-border);
  background: #fff;
  padding: clamp(0.7rem, 2vw, 1rem);
  box-shadow: 0 24px 60px rgba(29, 29, 31, 0.08);
}

.ml-visualiser-demo__compare {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--ml-charcoal);
}

.ml-visualiser-demo__compare .ml-compare {
  height: 100%;
}

.ml-visualiser-demo__compare .ml-compare__label {
  bottom: 0.75rem;
  font-size: 0.58rem;
}

.ml-visualiser-demo__controls {
  padding: 1rem 0.25rem 0.2rem;
}

.ml-visualiser-demo__label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ml-sales-muted);
}

.ml-visualiser-demo__swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.ml-visualiser-demo__swatches span {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--ml-sales-border);
}

.ml-visualiser-demo__swatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.15rem;
}

.ml-visualiser-demo__swatch--light {
  background: linear-gradient(135deg, #f6f1ed 0%, #dcd4cc 45%, #f7f3ef 100%);
}

.ml-visualiser-demo__swatch--warm {
  background: linear-gradient(135deg, #e4d6c6 0%, #c7b39f 46%, #efe5da 100%);
}

.ml-visualiser-demo__swatch--dramatic {
  background: linear-gradient(135deg, #cfc8c1 0%, #8e847a 48%, #d7d1cb 100%);
}

.ml-visualiser-demo__swatch--bold {
  background: linear-gradient(135deg, #4b433f 0%, #201d1d 48%, #7a685f 100%);
}

.ml-visualiser-demo__moods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.ml-visualiser-demo__moods span {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--ml-sales-border);
  font-size: 0.7rem;
  color: var(--ml-sales-muted);
}

@media (min-width: 900px) {
  .ml-visualiser-bridge__grid {
    grid-template-columns: 0.72fr 1.28fr;
  }
}

/* --------------------------------------------------------------------------
   4. Honest comparison.
   -------------------------------------------------------------------------- */
.ml-comparison {
  background: #fffdfb;
}

.ml-comparison__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ml-comparison__position {
  align-self: end;
  max-width: 48ch;
}

.ml-comparison__position p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ml-comparison__table-wrap {
  display: none;
  border: 1px solid var(--ml-sales-border);
  overflow-x: auto;
  background: var(--ml-sales-surface);
}

.ml-comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.ml-comparison__table th,
.ml-comparison__table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-right: 1px solid var(--ml-sales-border);
  border-bottom: 1px solid var(--ml-sales-border);
  vertical-align: top;
}

.ml-comparison__table tr:last-child th,
.ml-comparison__table tr:last-child td {
  border-bottom: 0;
}

.ml-comparison__table th:last-child,
.ml-comparison__table td:last-child {
  border-right: 0;
}

.ml-comparison__table thead th {
  background: rgba(211, 202, 192, 0.35);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.ml-comparison__table tbody th {
  width: 18%;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ml-comparison__table td {
  color: var(--ml-sales-muted);
  font-size: 0.94rem;
}

.ml-comparison__table td:last-child {
  color: var(--ml-sales-ink);
  font-weight: 500;
}

.ml-comparison__mobile {
  border-top: 1px solid var(--ml-sales-border);
}

.ml-comparison__mobile details {
  border-bottom: 1px solid var(--ml-sales-border);
}

.ml-comparison__mobile summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  position: relative;
  font-weight: 500;
}

.ml-comparison__mobile summary::-webkit-details-marker {
  display: none;
}

.ml-comparison__mobile summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ml-warm-taupe);
}

.ml-comparison__mobile details[open] summary::after {
  content: '−';
}

.ml-comparison__mobile details > div {
  padding: 0 0 1.2rem;
}

.ml-comparison__mobile strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
}

.ml-comparison__mobile p {
  margin: 0.25rem 0 0;
  color: var(--ml-sales-muted);
}

@media (min-width: 760px) {
  .ml-comparison__table-wrap {
    display: block;
  }

  .ml-comparison__mobile {
    display: none;
  }
}

@media (min-width: 960px) {
  .ml-comparison__header {
    grid-template-columns: 1fr 0.65fr;
    gap: 5rem;
  }
}

/* --------------------------------------------------------------------------
   5. Design freedom.
   -------------------------------------------------------------------------- */
.ml-sales-section.ml-design-freedom {
  background: var(--ml-charcoal);
  color: var(--ml-marble-white);
}

.ml-design-freedom .ml-eyebrow {
  color: var(--ml-soft-taupe);
}

.ml-design-freedom .ml-sales-copy {
  color: rgba(249, 244, 242, 0.68);
  margin-top: 1.4rem;
}

.ml-design-freedom .ml-sales-text-link {
  color: var(--ml-marble-white);
}

.ml-design-freedom__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.ml-design-freedom__visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(249, 244, 242, 0.14);
}

.ml-design-freedom__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 24, 25, 0.22), transparent 45%);
  pointer-events: none;
}

.ml-design-freedom__visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.ml-design-callout {
  position: absolute;
  z-index: 2;
  max-width: 170px;
  padding: 0.5rem 0.7rem;
  background: rgba(249, 244, 242, 0.92);
  color: var(--ml-charcoal);
  font-size: 0.72rem;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.ml-design-callout--one { top: 18%; left: 9%; }
.ml-design-callout--two { top: 48%; left: 45%; }
.ml-design-callout--three { right: 5%; bottom: 10%; }

@media (max-width: 560px) {
  .ml-design-callout {
    max-width: 120px;
    font-size: 0.62rem;
  }
  .ml-design-callout--two { left: 36%; }
}

@media (min-width: 960px) {
  .ml-design-freedom__grid {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .ml-design-freedom__visual,
  .ml-design-freedom__visual img {
    min-height: 470px;
  }
}

/* --------------------------------------------------------------------------
   6. Project complexity / value.
   -------------------------------------------------------------------------- */
.ml-project-value {
  background: #fffdfb;
}

.ml-project-value__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.ml-project-value__copy .ml-sales-copy {
  margin-top: 1.4rem;
}

.ml-project-value__copy .ml-sales-microcopy {
  max-width: 55ch;
  margin-top: 1.1rem;
}

.ml-project-paths {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.ml-project-path {
  border: 1px solid var(--ml-sales-border);
  padding: 1.35rem;
  background: var(--ml-sales-surface);
}

.ml-project-path h3 {
  margin-bottom: 1rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ml-project-path__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ml-project-path__steps span {
  position: relative;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid var(--ml-sales-border);
  font-size: 0.78rem;
}

.ml-project-path__steps span:not(:last-child)::after {
  content: '+';
  margin-left: 0.7rem;
  color: var(--ml-warm-taupe);
}

.ml-project-path--marblayer {
  border-color: rgba(168, 157, 146, 0.65);
  background: rgba(211, 202, 192, 0.26);
}

.ml-project-value__cta {
  justify-self: start;
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .ml-project-value__grid {
    grid-template-columns: 0.72fr 1.28fr;
  }
}

/* --------------------------------------------------------------------------
   7. Finishes.
   -------------------------------------------------------------------------- */
.ml-finishes {
  background: var(--ml-sales-surface);
}

.ml-finishes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ml-finish-card {
  min-width: 0;
}

.ml-finish-card__image {
  position: relative;
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: #ddd;
}

.ml-finish-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ml-ease);
}

.ml-finish-card:hover .ml-finish-card__image img {
  transform: scale(1.035);
}

.ml-finish-card__image span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.35rem 0.55rem;
  background: rgba(22, 24, 25, 0.8);
  color: var(--ml-marble-white);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ml-finish-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.ml-finish-card p {
  margin: 0.4rem 0 0;
  color: var(--ml-sales-muted);
  font-size: 0.88rem;
}

@media (min-width: 560px) {
  .ml-finishes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ml-finishes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   8. Applications.
   -------------------------------------------------------------------------- */
.ml-applications-sales {
  background: #fffdfb;
}

.ml-applications-sales__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ml-application-sales-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--ml-charcoal);
}

.ml-application-sales-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(22,24,25,0.86) 100%);
}

.ml-application-sales-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.7s var(--ml-ease);
}

.ml-application-sales-card:hover img {
  transform: scale(1.035);
}

.ml-application-sales-card > div {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  color: var(--ml-marble-white);
}

.ml-application-sales-card h3 {
  font-size: 1.3rem;
}

.ml-application-sales-card p {
  margin: 0.55rem 0 0;
  max-width: 42ch;
  color: rgba(249, 244, 242, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (min-width: 620px) {
  .ml-applications-sales__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ml-applications-sales__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   9. Project proof / clearly labelled concepts.
   -------------------------------------------------------------------------- */
.ml-projects-proof {
  background: var(--ml-sales-surface);
}

.ml-project-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ml-project-proof-card {
  display: block;
  min-width: 0;
}

.ml-project-proof-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.ml-project-proof-card__media > img,
.ml-project-proof-card__media > .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml-project-proof-card__pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
}

.ml-project-proof-card__pair > div {
  position: relative;
  overflow: hidden;
}

.ml-project-proof-card__pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml-project-proof-card__pair span {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.3rem 0.45rem;
  background: rgba(22,24,25,0.78);
  color: #fff;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ml-project-proof-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.35rem 0.5rem;
  background: rgba(249,244,242,0.9);
  color: var(--ml-charcoal);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ml-project-proof-card h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.ml-project-proof-card p {
  margin: 0.45rem 0 0;
  color: var(--ml-sales-muted);
  font-size: 0.88rem;
}

.ml-projects-proof__actions {
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .ml-project-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   10. Six-step process.
   -------------------------------------------------------------------------- */
.ml-process-section {
  background: #fffdfb;
}

.ml-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ml-sales-border);
  border-left: 1px solid var(--ml-sales-border);
}

.ml-process-step {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-right: 1px solid var(--ml-sales-border);
  border-bottom: 1px solid var(--ml-sales-border);
}

.ml-process-step__number {
  color: var(--ml-warm-taupe);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.ml-process-step h3 {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.ml-process-step p {
  margin: 0.65rem 0 0;
  color: var(--ml-sales-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

@media (min-width: 620px) {
  .ml-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ml-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .ml-process-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   11. About.
   -------------------------------------------------------------------------- */
.ml-sales-section.ml-about-sales {
  background: var(--ml-charcoal);
  color: var(--ml-marble-white);
}

.ml-about-sales .ml-eyebrow {
  color: var(--ml-soft-taupe);
}

.ml-about-sales .ml-sales-copy {
  color: rgba(249, 244, 242, 0.68);
  margin-top: 1.5rem;
}

.ml-about-sales__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.ml-about-sales__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(249, 244, 242, 0.14);
}

.ml-about-sales__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml-about-sales__values {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(249, 244, 242, 0.16);
  border-left: 1px solid rgba(249, 244, 242, 0.16);
}

.ml-about-sales__values > div {
  padding: 1.4rem;
  border-right: 1px solid rgba(249, 244, 242, 0.16);
  border-bottom: 1px solid rgba(249, 244, 242, 0.16);
}

.ml-about-sales__values h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ml-soft-taupe);
}

.ml-about-sales__values p {
  margin: 0.55rem 0 0;
  color: rgba(249, 244, 242, 0.65);
  font-size: 0.86rem;
}

@media (min-width: 620px) {
  .ml-about-sales__values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ml-about-sales__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
  .ml-about-sales__values {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* FAQ follows the existing accessible details/summary component, with spacing
   aligned to the new sales sections. */
.ml-faq.ml-section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: #fffdfb;
}

/* --------------------------------------------------------------------------
   12. Final multi-intent CTA.
   -------------------------------------------------------------------------- */
.ml-final-paths {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(168, 157, 146, 0.13), transparent 24%),
    var(--ml-marble-black);
  color: var(--ml-marble-white);
  border-top: 1px solid rgba(249, 244, 242, 0.1);
}

.ml-final-paths .ml-eyebrow {
  color: var(--ml-soft-taupe);
}

.ml-final-paths__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.ml-final-paths__head h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
}

.ml-final-paths__head p {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: rgba(249, 244, 242, 0.7);
}

.ml-final-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.ml-final-path-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 115px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(249, 244, 242, 0.25);
  color: var(--ml-marble-white);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ml-final-path-card:hover,
.ml-final-path-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(249, 244, 242, 0.05);
  border-color: rgba(249, 244, 242, 0.5);
}

.ml-final-path-card .ml-sales-icon {
  color: var(--ml-soft-taupe);
  border-color: rgba(201, 191, 180, 0.5);
}

.ml-final-path-card strong,
.ml-final-path-card small {
  display: block;
}

.ml-final-path-card strong {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.ml-final-path-card small {
  margin-top: 0.35rem;
  color: rgba(249, 244, 242, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ml-final-path-card--primary {
  background: var(--ml-warm-taupe);
  color: var(--ml-marble-black);
  border-color: var(--ml-warm-taupe);
}

.ml-final-path-card--primary .ml-sales-icon {
  color: var(--ml-marble-black);
  border-color: rgba(22, 24, 25, 0.4);
}

.ml-final-path-card--primary small {
  color: rgba(22, 24, 25, 0.72);
}

.ml-final-path-card--primary:hover,
.ml-final-path-card--primary:focus-visible {
  background: var(--ml-marble-white);
  border-color: var(--ml-marble-white);
}

@media (min-width: 780px) {
  .ml-final-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Shared desktop layout refinements.
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .ml-sales-section-head {
    grid-template-columns: 1fr 0.82fr;
    gap: 5rem;
    align-items: end;
  }
}

/* --------------------------------------------------------------------------
   Mobile-specific conversion behaviour.
   -------------------------------------------------------------------------- */
@media (max-width: 699px) {
  .ml-sales-hero .ml-hero__content {
    padding: 0 var(--ml-gutter) 1.5rem;
  }

  .ml-sales-hero__panel {
    padding-top: 1.55rem !important;
  }

  .ml-sales-hero .ml-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.7rem;
  }

  .ml-sales-hero .ml-btn {
    width: 100%;
  }

  .ml-sales-heading {
    max-width: none;
  }

  .ml-sales-section {
    padding: 4rem 0;
  }

  .ml-compare__grip {
    width: 44px;
    height: 44px;
  }

  .ml-compare__label {
    bottom: 0.7rem;
    font-size: 0.56rem;
    padding: 0.32rem 0.55rem;
  }

  .ml-compare__label--before { left: 0.7rem; }
  .ml-compare__label--after { right: 0.7rem; }
}

/* The homepage no longer uses the old generic positioning/why/system layouts,
   but these declarations ensure any legacy shortcode/content does not visually
   collide when a child theme or cached fragment still outputs them. */
.home .ml-statement,
.home .ml-why,
.home .ml-steps {
  max-width: 100%;
}

.ml-anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 110px;
}

/* v2.5.0 value emphasis: keep the strongest commercial advantage prominent
   without turning it into an unsupported fixed-saving claim. */
.ml-project-value__highlight {
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--ml-warm-taupe);
  background: rgba(168, 157, 146, 0.08);
  font-size: 0.93rem;
  line-height: 1.6;
  font-weight: 500;
}

/* v2.5.1 mobile readability fix. The dark sales sections must stay dark even
   when they happen to be an even section in the page flow. Scroll reveal is
   also disabled on touch layouts so text never appears washed out while a
   user is actively scrolling or when Safari restores a previous scroll point. */
@media (max-width: 899px) {
  .ml-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ml-sales-section.ml-design-freedom,
  .ml-sales-section.ml-about-sales {
    background: var(--ml-charcoal) !important;
    color: var(--ml-marble-white);
  }

  .ml-design-freedom .ml-sales-heading,
  .ml-about-sales .ml-sales-heading {
    color: var(--ml-marble-white);
  }

  .ml-design-freedom .ml-sales-copy,
  .ml-about-sales .ml-sales-copy {
    color: rgba(249, 244, 242, 0.82);
  }

  .ml-about-sales__values p {
    color: rgba(249, 244, 242, 0.78);
  }
}

/* --------------------------------------------------------------------------
   v2.5.19 Brazilian provenance and founder credibility.
   A compact two-column trust story keeps the About section editorial rather
   than adding another long text section to the homepage.
   -------------------------------------------------------------------------- */
.ml-founder-story {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(249, 244, 242, 0.16);
}

.ml-founder-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.ml-founder-story__origin > h3 {
  margin: 0.7rem 0 1.25rem;
  max-width: 700px;
  color: var(--ml-marble-white);
  font-family: var(--ml-font-display);
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
}

.ml-founder-story__origin > p {
  max-width: 720px;
  margin: 0 0 1rem;
  color: rgba(249, 244, 242, 0.76);
  line-height: 1.72;
}

.ml-founder-story__foundation {
  border: 1px solid rgba(249, 244, 242, 0.16);
  background: rgba(249, 244, 242, 0.035);
}

.ml-founder-story__foundation-label {
  display: block;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(249, 244, 242, 0.16);
  color: var(--ml-soft-taupe);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ml-founder-proof {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(249, 244, 242, 0.12);
}

.ml-founder-proof__number {
  padding-top: 0.12rem;
  color: var(--ml-soft-taupe);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.ml-founder-proof strong {
  display: block;
  color: var(--ml-marble-white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ml-founder-proof p {
  margin: 0.35rem 0 0;
  color: rgba(249, 244, 242, 0.7);
  font-size: 0.84rem;
  line-height: 1.58;
}

.ml-founder-story__variation-note {
  margin: 0;
  padding: 0.9rem 1.2rem 1rem;
  color: rgba(249, 244, 242, 0.57);
  font-size: 0.76rem;
  line-height: 1.55;
}

.ml-founder-story__people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  background: rgba(249, 244, 242, 0.16);
  border: 1px solid rgba(249, 244, 242, 0.16);
}

.ml-founder-card {
  padding: clamp(1.4rem, 2.7vw, 2rem);
  background: var(--ml-charcoal);
}

.ml-founder-card__role {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ml-soft-taupe);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.ml-founder-card h3 {
  margin: 0 0 0.8rem;
  color: var(--ml-marble-white);
  font-family: var(--ml-font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 400;
}

.ml-founder-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(249, 244, 242, 0.72);
  line-height: 1.68;
}

@media (min-width: 900px) {
  .ml-founder-story__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  }

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

@media (max-width: 899px) {
  .ml-founder-story__origin > p,
  .ml-founder-proof p,
  .ml-founder-card p {
    color: rgba(249, 244, 242, 0.82);
  }

  .ml-founder-story__variation-note {
    color: rgba(249, 244, 242, 0.7);
  }
}


/* --------------------------------------------------------------------------
   v2.5.20 Founder story progressive disclosure.
   Keep the strongest trust signals scannable, with supporting detail available
   on demand so the homepage keeps its visual momentum on smaller screens.
   -------------------------------------------------------------------------- */
.ml-founder-expand {
  margin-top: 1rem;
  border: 1px solid rgba(249, 244, 242, 0.16);
  background: rgba(249, 244, 242, 0.025);
}

.ml-founder-expand summary {
  position: relative;
  display: block;
  padding: 1rem 3.25rem 1rem 1.2rem;
  color: var(--ml-marble-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.ml-founder-expand summary::-webkit-details-marker {
  display: none;
}

.ml-founder-expand summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  color: var(--ml-soft-taupe);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.ml-founder-expand[open] summary::after {
  content: '−';
}

.ml-founder-expand[open] summary {
  border-bottom: 1px solid rgba(249, 244, 242, 0.13);
}

.ml-founder-expand__content {
  max-width: 900px;
  padding: 1.2rem;
}

.ml-founder-expand__content p {
  margin: 0 0 1rem;
  color: rgba(249, 244, 242, 0.76);
  line-height: 1.72;
}

.ml-founder-expand__content p:last-child {
  margin-bottom: 0;
}

.ml-founder-story__people-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid rgba(249, 244, 242, 0.14);
  background: rgba(249, 244, 242, 0.14);
}

.ml-founder-person {
  min-width: 0;
  background: var(--ml-charcoal);
}

.ml-founder-person summary {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 0;
  padding: 1rem 3.25rem 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
}

.ml-founder-person summary::-webkit-details-marker {
  display: none;
}

.ml-founder-person summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1.2rem;
  transform: translateY(-50%);
  color: var(--ml-soft-taupe);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.ml-founder-person[open] summary::after {
  content: '−';
}

.ml-founder-person[open] summary {
  border-bottom: 1px solid rgba(249, 244, 242, 0.13);
}

.ml-founder-person strong {
  color: var(--ml-marble-white);
  font-family: var(--ml-font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.ml-founder-person summary span {
  color: var(--ml-soft-taupe);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.ml-founder-person__content {
  position: static;
  display: block;
  width: 100%;
  padding: 1rem 1.2rem 1.2rem;
  box-sizing: border-box;
}

.ml-founder-person:not([open]) > .ml-founder-person__content {
  display: none;
}

.ml-founder-person[open] {
  height: auto;
}

.ml-founder-person[open] > summary {
  min-height: 0;
}

.ml-founder-person__content p {
  margin: 0;
  color: rgba(249, 244, 242, 0.76);
  line-height: 1.68;
}

@media (min-width: 700px) {
  .ml-founder-story__people-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .ml-founder-story {
    margin-top: 2.6rem;
    padding-top: 2.3rem;
  }

  .ml-founder-story__grid {
    gap: 1.6rem;
  }

  .ml-founder-story__origin > h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .ml-founder-story__origin > p {
    margin-bottom: 0;
    line-height: 1.6;
  }

  .ml-founder-proof {
    padding: 0.9rem 1rem;
  }

  .ml-founder-proof p {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.48;
  }

  .ml-founder-expand summary {
    padding: 0.95rem 3rem 0.95rem 1rem;
    font-size: 0.7rem;
  }

  .ml-founder-expand__content {
    padding: 1rem;
  }

  .ml-founder-expand__content p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .ml-founder-person summary {
    min-height: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .ml-founder-person__content {
    padding: 0.95rem 1rem 1.1rem;
  }
}
