/* FRAME73 Problem & Partner viewport — v0.2.4
   Gives the problem statement a complete viewport before Buildings begins. */

.services .problem {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  max-width: none;
  margin: 0;
  padding: clamp(104px, 14svh, 132px) 0 clamp(28px, 5svh, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  overflow: hidden;
}

.services .problem::before {
  content: "?";
  position: absolute;
  z-index: -1;
  right: 30%;
  top: 50%;
  transform: translate(50%, -51%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 101, 0, .09);
  font-size: clamp(360px, 46vw, 740px);
  font-weight: 900;
  line-height: .72;
  pointer-events: none;
}

.problem-copy {
  max-width: 920px;
}

.services .problem-copy h2 {
  margin: clamp(12px, 2svh, 20px) 0 clamp(18px, 3svh, 30px);
  font-size: clamp(48px, min(5.4vw, 8.4svh), 84px);
  line-height: .96;
}

.services .problem-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #aaa;
  font-size: clamp(15px, min(1.25vw, 2.2svh), 18px);
  line-height: 1.6;
}

.services .problem-copy .btn {
  margin-top: clamp(24px, 4svh, 38px);
}

.partner-note {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #71300b;
  background:
    linear-gradient(145deg, rgba(255, 101, 0, .08), transparent 45%),
    #0b0c0e;
}

.partner-note::before,
.partner-note::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--orange);
  border-style: solid;
}

.partner-note::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.partner-note::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.partner-note h3 {
  margin: clamp(18px, 3svh, 28px) 0;
  font-size: clamp(28px, min(3vw, 4.8svh), 44px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.partner-note h3 span {
  color: var(--orange);
}

.services .problem .partner-note > p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: #aaa;
  font-size: clamp(13px, min(1vw, 1.9svh), 15px);
  line-height: 1.6;
}

.partner-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(26px, 4svh, 40px);
  border-top: 1px solid var(--line);
}

.partner-points span {
  padding: 16px 12px 0 0;
  border-right: 1px solid var(--line);
  color: #d0d0d0;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.1px;
}

.partner-points span + span {
  padding-left: 12px;
}

.partner-points span:last-child {
  border-right: 0;
}

@media (min-width: 901px) and (max-height: 760px) {
  .services .problem {
    padding-top: 98px;
    padding-bottom: 22px;
    gap: clamp(38px, 6vw, 86px);
  }

  .services .problem-copy h2 {
    margin: 10px 0 16px;
    font-size: clamp(44px, 7.2svh, 58px);
  }

  .services .problem-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.45;
  }

  .services .problem-copy .btn {
    margin-top: 20px;
    padding: 13px 18px;
  }

  .partner-note {
    padding: 28px;
  }

  .partner-note h3 {
    margin: 15px 0;
    font-size: 29px;
  }

  .services .problem .partner-note > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.45;
  }

  .partner-points {
    margin-top: 20px;
  }

  .partner-points span {
    padding-top: 12px;
  }
}

@media (max-width: 900px) {
  .services .problem {
    min-height: 100svh;
    padding-top: 104px;
    padding-bottom: 28px;
    grid-template-columns: 1fr;
    gap: 34px;
    align-content: center;
  }

  .services .problem::before {
    right: -8%;
    top: 38%;
    transform: translate(0, -50%);
    font-size: min(88vw, 560px);
  }

  .services .problem-copy h2 {
    font-size: clamp(42px, 9vw, 65px);
  }

  .services .problem-copy > p:not(.eyebrow) {
    max-width: 680px;
    font-size: 15px;
  }

  .partner-note {
    padding: clamp(24px, 5vw, 38px);
  }

  .partner-note h3 {
    font-size: clamp(25px, 5vw, 36px);
  }
}

@media (max-width: 560px) {
  .services .problem {
    padding-top: 96px;
    padding-bottom: 20px;
    gap: 22px;
  }

  .services .problem-copy h2 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -2.5px;
  }

  .services .problem-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.42;
  }

  .services .problem-copy .btn {
    margin-top: 18px;
    padding: 12px 14px;
    font-size: 9px;
  }

  .partner-note {
    padding: 20px;
  }

  .partner-note h3 {
    margin: 12px 0;
    font-size: 23px;
    letter-spacing: -1.2px;
  }

  .services .problem .partner-note > p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.4;
  }

  .partner-points {
    margin-top: 16px;
  }

  .partner-points span {
    padding-top: 10px;
    font-size: 6px;
    letter-spacing: .7px;
  }
}

@media (max-width: 900px) and (max-height: 650px) {
  .services .problem {
    padding-top: 90px;
    padding-bottom: 14px;
    gap: 14px;
  }

  .services .problem-copy h2 {
    margin: 7px 0 10px;
    font-size: clamp(29px, 8svh, 42px);
  }

  .services .problem-copy > p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.3;
  }

  .services .problem-copy .btn {
    margin-top: 12px;
    padding: 9px 11px;
  }

  .partner-note {
    padding: 16px;
  }

  .partner-note h3 {
    margin: 8px 0;
    font-size: 19px;
  }

  .services .problem .partner-note > p:not(.eyebrow) {
    font-size: 9px;
    line-height: 1.3;
  }

  .partner-points {
    margin-top: 10px;
  }

  .partner-points span {
    padding-top: 7px;
    font-size: 5.5px;
  }
}
