/*
Theme Name: Mariza Monteiro | The Decision Edit
Theme URI: https://marizamonteiro.com
Author: Mariza Monteiro
Description: An editable WordPress block theme for the Fund, Fix, or Kill offer.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mariza-option-one
*/

:root {
  --mm-ivory: #f5f1e9;
  --mm-navy: #0b1829;
  --mm-rust: #ad3825;
  --mm-rust-light: #d87360;
  --mm-line: #cfc7ba;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mm-ivory);
  color: var(--mm-navy);
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

.mm-site {
  overflow: hidden;
}

.mm-site a {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mm-site h1,
.mm-site h2,
.mm-site h3,
.mm-site p {
  text-wrap: pretty;
}

.mm-header {
  min-height: 86px;
  padding: 0 2.65vw;
  border-bottom: 1px solid var(--mm-line);
  background: var(--mm-ivory);
}

.mm-header .wp-block-group {
  min-height: 86px;
}

.mm-wordmark {
  margin: 0;
  font-size: clamp(1.05rem, 1.52vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mm-wordmark a,
.mm-header-links a,
.mm-footer a {
  color: inherit;
  text-decoration: none;
}

.mm-header-links {
  display: flex;
  gap: clamp(2rem, 4vw, 4.5rem);
  margin: 0;
  font-size: 1.05rem;
}

.mm-header-links a:hover,
.mm-header-links a:focus-visible {
  color: var(--mm-rust);
}

.mm-hero {
  min-height: calc(100vh - 86px);
  margin: 0;
}

.mm-hero > .wp-block-column {
  margin: 0;
}

.mm-hero-copy {
  min-height: calc(100vh - 86px);
  padding: clamp(4rem, 8vh, 7.5rem) clamp(2.5rem, 5.6vw, 6rem);
  justify-content: center;
}

.mm-eyebrow,
.mm-section-label {
  color: var(--mm-rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.29em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mm-eyebrow {
  margin: 0 0 clamp(2.2rem, 4.8vh, 4.8rem);
}

.mm-eyebrow::before {
  content: "";
  width: 74px;
  height: 2px;
  display: block;
  margin-bottom: 1.6rem;
  background: currentColor;
}

.mm-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 7.9vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.mm-rule {
  width: 114px;
  height: 2px;
  margin: clamp(2.2rem, 4vh, 3.7rem) 0 1.4rem;
  border: 0;
  background: var(--mm-line);
}

.mm-hero-deck {
  max-width: 590px;
  margin: 0 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1.34;
}

.mm-hero-body {
  max-width: 525px;
  margin: 0 0 1.8rem;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.mm-button {
  margin: 0;
}

.mm-button .wp-block-button__link {
  min-width: 248px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--mm-rust);
  border-radius: 0;
  background: var(--mm-rust);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.mm-button .wp-block-button__link:hover,
.mm-button .wp-block-button__link:focus-visible {
  background: transparent;
  color: var(--mm-rust);
  transform: translateY(-2px);
}

.mm-availability {
  margin: 1rem 0 0;
  font-size: 1rem;
}

.mm-hero-image,
.mm-about-image {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.mm-hero-image img,
.mm-about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mm-hero-image img {
  min-height: calc(100vh - 86px);
  object-position: 50% 38%;
}

.mm-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mm-section-label::before {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
}

.mm-label-light {
  color: var(--mm-rust-light);
}

.mm-problem,
.mm-method,
.mm-fit {
  padding: clamp(6rem, 11vw, 10rem) clamp(2rem, 7vw, 8rem);
}

.mm-problem {
  background: var(--mm-navy);
  color: var(--mm-ivory);
}

.mm-problem-grid,
.mm-method-intro,
.mm-brief,
.mm-fit-grid {
  gap: clamp(4rem, 10vw, 10rem);
}

.mm-problem-grid {
  max-width: 1320px;
  margin: 4.5rem auto 0;
  align-items: flex-start;
}

.mm-site h2,
.mm-site h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.mm-problem h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.2rem, 5.9vw, 6.2rem);
  line-height: 1.05;
}

.mm-problem-copy {
  padding-top: 0.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
}

.mm-problem-copy p {
  margin: 0 0 1.5rem;
}

.mm-pull-quote {
  margin-top: 3rem !important;
  padding-top: 1.6rem;
  border-top: 1px solid #344154;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.35;
}

.mm-method {
  background: var(--mm-ivory);
}

.mm-method-intro {
  max-width: 1320px;
  margin: 4rem auto 6rem;
  align-items: flex-end;
}

.mm-method-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 1.05;
}

.mm-method-intro p {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}

.mm-steps {
  max-width: 1320px;
  margin: 0 auto;
  gap: 0;
  border-top: 1px solid var(--mm-line);
  border-bottom: 1px solid var(--mm-line);
}

.mm-step {
  min-height: 330px;
  padding: 2.5rem clamp(1.3rem, 3vw, 3rem) 2.8rem;
  border-right: 1px solid var(--mm-line);
}

.mm-step:first-child {
  padding-left: 0;
}

.mm-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.mm-number {
  margin: 0;
  color: var(--mm-rust);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.mm-step h3 {
  margin: 4rem 0 1.3rem;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.2;
}

.mm-step p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.mm-brief {
  padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 7vw, 8rem);
  background: #a93624;
  color: #fff;
}

.mm-brief-title h2 {
  margin: 3.5rem 0 0;
  font-size: clamp(3.5rem, 5.8vw, 6rem);
  line-height: 1.05;
}

.mm-brief-title > p:last-child {
  max-width: 525px;
  margin: 2rem 0 0;
  font-size: 1.1rem;
  line-height: 1.65;
}

.mm-brief-list {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.mm-brief-item {
  min-height: 95px;
  gap: 0;
  grid-template-columns: 55px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.mm-brief-item .mm-number {
  color: rgba(255, 255, 255, 0.7);
}

.mm-brief-item p:last-child {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.mm-about {
  min-height: 900px;
  margin: 0;
  gap: 0;
}

.mm-about > .wp-block-column {
  margin: 0;
}

.mm-about-image img {
  min-height: 900px;
  object-position: center 30%;
}

.mm-about-copy {
  min-height: 900px;
  padding: clamp(5rem, 10vw, 10rem) clamp(2.5rem, 8vw, 8rem);
  justify-content: center;
}

.mm-about-copy h2 {
  max-width: 760px;
  margin: 3rem 0 0;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 1.05;
}

.mm-about-copy > p:not(.mm-section-label) {
  max-width: 660px;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.22vw, 1.17rem);
  line-height: 1.7;
}

.mm-fit {
  border-top: 1px solid var(--mm-line);
  background: var(--mm-ivory);
}

.mm-fit > h2 {
  max-width: 1120px;
  margin: 4rem 0 5rem;
  font-size: clamp(3.2rem, 5.2vw, 5.5rem);
  line-height: 1.05;
}

.mm-fit-grid {
  max-width: 1320px;
}

.mm-fit-grid > .wp-block-column:first-child p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.mm-fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mm-line);
}

.mm-fit-list li {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--mm-line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.mm-closing {
  padding: clamp(6rem, 11vw, 10rem) 2rem;
  background: var(--mm-navy);
  color: #fff;
  text-align: center;
}

.mm-closing .mm-eyebrow {
  margin-bottom: 2.5rem;
  color: var(--mm-rust-light);
}

.mm-closing .mm-eyebrow::before {
  margin-right: auto;
  margin-left: auto;
}

.mm-closing h2 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1.05;
}

.mm-closing > p:not(.mm-eyebrow) {
  max-width: 640px;
  margin: 2rem auto;
  font-size: 1.15rem;
  line-height: 1.65;
}

.mm-closing .mm-button {
  margin-top: 0.75rem;
}

.mm-closing .mm-button .wp-block-button__link:hover,
.mm-closing .mm-button .wp-block-button__link:focus-visible {
  border-color: #fff;
  color: #fff;
}

.mm-footer {
  min-height: 150px;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
  background: var(--mm-ivory);
  font-size: 0.9rem;
}

.mm-footer .mm-wordmark {
  font-size: 0.95rem;
}

.mm-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .mm-header,
  .mm-header .wp-block-group {
    min-height: 74px;
  }

  .mm-header {
    padding: 0 1.25rem;
  }

  .mm-wordmark {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }

  .mm-header-links {
    display: none;
  }

  .mm-hero {
    display: flex;
    flex-direction: column-reverse;
  }

  .mm-hero-copy {
    min-height: auto;
    padding: 3.2rem 1.4rem 3.5rem;
  }

  .mm-eyebrow {
    margin-bottom: 2.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
  }

  .mm-eyebrow::before {
    width: 54px;
    margin-bottom: 1.2rem;
  }

  .mm-hero h1 {
    font-size: clamp(4.1rem, 20vw, 6rem);
  }

  .mm-hero-deck {
    font-size: 1.45rem;
  }

  .mm-hero-body {
    font-size: 1.05rem;
  }

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

  .mm-hero-image img {
    min-height: 72vh;
  }

  .mm-problem-grid,
  .mm-method-intro,
  .mm-brief,
  .mm-about,
  .mm-fit-grid {
    display: block;
  }

  .mm-problem-grid,
  .mm-method-intro {
    margin-top: 3rem;
  }

  .mm-problem-copy {
    margin-top: 2.5rem;
  }

  .mm-steps {
    display: block;
  }

  .mm-step,
  .mm-step:first-child,
  .mm-step:last-child {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--mm-line);
  }

  .mm-step:last-child {
    border-bottom: 0;
  }

  .mm-step h3 {
    margin-top: 2.5rem;
  }

  .mm-brief-list {
    margin-top: 4rem;
  }

  .mm-about-image img {
    min-height: 74vh;
  }

  .mm-about-copy {
    min-height: auto;
    padding: 5rem 1.4rem;
  }

  .mm-fit > h2 {
    margin: 3rem 0;
  }

  .mm-fit-grid > .wp-block-column:last-child {
    margin-top: 3rem;
  }

  .mm-footer > .wp-block-group {
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mm-site * {
    transition: none !important;
  }
}
