/* The Solution section: centered serif H2 + three alternating text/art rows */

.s-solution {
  padding: 140px 30px;
}

.s-solution .sol-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 140px;
}

/* title block */
.s-solution .sol-title {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.s-solution .sol-h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: var(--ink);
  width: 100%;
}

/* tag labels exist in production markup but never render visually (verified on all crops) */
.s-solution .sol-tag {
  display: none;
}

/* rows */
.s-solution .sol-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.s-solution .sol-content {
  flex: 1 0 0;
  min-width: 0;
  max-width: 411px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.s-solution .sol-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.s-solution .sol-h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  width: 100%;
  max-width: 400px;
}

.s-solution .sol-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  width: 100%;
}

/* arrow bullet list */
.s-solution .sol-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.s-solution .sol-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.s-solution .sol-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ink);
}

.s-solution .sol-list span {
  flex: 1 0 0;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
}

/* art block: lime abstract image + glyph canvas + chrome object */
.s-solution .sol-art {
  flex: 1 0 0;
  min-width: 0;
  max-width: 737px;
  aspect-ratio: 1.13385 / 1;
  position: relative;
  overflow: hidden;
}

.s-solution .sol-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.s-solution .sol-glyphs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.s-solution .sol-obj {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.s-solution .sol-obj-img {
  height: auto;
}

.s-solution .obj-vault { width: 52%; }
.s-solution .obj-hourglass { width: 38%; }
.s-solution .obj-chest { width: 56%; }

/* dark theme: text colors follow --ink from base tokens, art stays lime */
html.dark .s-solution .sol-h2,
html.dark .s-solution .sol-h3,
html.dark .s-solution .sol-body,
html.dark .s-solution .sol-list span,
html.dark .s-solution .sol-arrow {
  color: var(--ink);
}

/* tablet 768-1439: KEEP the side-by-side alternating layout (never stacks) */
@media (max-width: 1439px) {
  .s-solution {
    padding: 100px 30px;
  }
  .s-solution .sol-wrap {
    gap: 100px;
  }
  .s-solution .sol-h2 {
    font-size: 38px;
  }
  .s-solution .sol-h3 {
    font-size: 26px;
  }
  .s-solution .sol-row {
    gap: 40px;
  }
  .s-solution .sol-content {
    gap: 28px;
  }
}

/* phone 767 and below: same side-by-side rows, type + gaps scaled to fit */
@media (max-width: 767px) {
  .s-solution {
    padding: 64px 18px;
  }
  .s-solution .sol-wrap {
    gap: 56px;
  }
  .s-solution .sol-h2 {
    font-size: 22px;
  }
  .s-solution .sol-row {
    gap: 16px;
    align-items: center;
  }
  .s-solution .sol-content {
    gap: 14px;
  }
  .s-solution .sol-h3 {
    font-size: 16px;
    line-height: 1.2;
    max-width: none;
  }
  .s-solution .sol-body {
    font-size: 12px;
    line-height: 18px;
  }
  .s-solution .sol-list {
    gap: 10px;
  }
  .s-solution .sol-list li {
    gap: 10px;
  }
  .s-solution .sol-list span {
    font-size: 11.5px;
    line-height: 15px;
  }
  .s-solution .sol-arrow {
    width: 14px;
    height: 14px;
  }
}
