:root {
  --warm-bone: #f4efe7;
  --limestone: #d1c6bf;
  --clay-ochre: #b8683d;
  --mist-sage: #ccd9c1;
  --dusk-blue: #50596e;
  --ink: #292827;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--warm-bone);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--warm-bone);
  overflow-x: hidden;
}

.statement-hero {
  position: relative;
  display: flex;
  min-height: min(78vh, 760px);
  align-items: flex-end;
  padding: clamp(28px, 5vw, 72px);
  padding-bottom: 0;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(41, 40, 39, 0.78) 0%,
      rgba(41, 40, 39, 0.6) 43%,
      rgba(41, 40, 39, 0.2) 72%,
      rgba(41, 40, 39, 0.05) 100%
    ),
    linear-gradient(180deg, rgba(80, 89, 110, 0.08), rgba(41, 40, 39, 0.34)),
    url("../assets/juanjo-statement-hero.png") center top / cover no-repeat;
}

.statement-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(204, 217, 193, 0.18), transparent 30%),
    linear-gradient(180deg, transparent 56%, rgba(80, 89, 110, 0.18));
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  width: min(850px, calc(100vw - clamp(56px, 10vw, 144px)));
  padding: 0 0 38px;
}

.eyebrow {
  width: fit-content;
  margin: 0;
  padding-top: 12px;
  border-top: 3px solid var(--clay-ochre);
  color: var(--clay-ochre);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--limestone);
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-note {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--limestone);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.45;
}

.statement-body {
  padding: clamp(56px, 8vw, 108px) clamp(22px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(244, 239, 231, 1), rgba(244, 239, 231, 0.94) 62%, rgba(209, 198, 191, 0.28)),
    var(--warm-bone);
}

.statement-inner {
  width: min(850px, calc(100vw - clamp(44px, 8vw, 112px)));
  margin-inline: auto;
  overflow-wrap: break-word;
}

.statement-inner p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  font-weight: 500;
  line-height: 1.76;
}

.statement-inner p + p {
  margin-top: 1.25rem;
}

.salutation {
  color: var(--dusk-blue);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem) !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  text-wrap: balance;
}

strong {
  color: var(--clay-ochre);
  font-weight: 800;
}

.signature {
  margin-top: clamp(34px, 5vw, 58px) !important;
  color: var(--dusk-blue);
  font-weight: 800 !important;
}

.signature span {
  font-size: 0.86em;
  font-weight: 700;
}

@media (max-width: 760px) {
  main,
  .statement-hero,
  .statement-body,
  .hero-inner,
  .statement-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .statement-hero {
    min-height: min(72vh, 680px);
    padding: 22px;
    padding-bottom: 0;
    background:
      linear-gradient(
        180deg,
        rgba(41, 40, 39, 0.14) 0%,
        rgba(41, 40, 39, 0.28) 38%,
        rgba(41, 40, 39, 0.78) 100%
      ),
      url("../assets/juanjo-statement-hero.png") center top / cover no-repeat;
  }

  .hero-inner {
    padding: clamp(132px, 20vh, 220px) 0 38px;
  }

  .eyebrow {
    margin-top: 34px;
  }

  h1 {
    width: 100%;
    max-width: 410px;
    font-size: clamp(1.9rem, 7vw, 2.35rem);
    line-height: 1;
    text-wrap: wrap;
  }

  .hero-note,
  .statement-inner p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .salutation {
    font-size: clamp(1.08rem, 5vw, 1.28rem) !important;
  }
}
