/* ============================================================
   solutions.css — GSV Sales
   Palantir-inspired "Our Solutions" showcase section
   ============================================================ */

/* ── SECTION WRAPPER ─────────────────────────────────────────── */
.solutions {
  background:  var(--white);
  padding-top: var(--section-pad);
}

/* ── INTRO STATEMENT ─────────────────────────────────────────── */
/* Large two-toned headline above the list */
.solutions__statement {
  font-size:     clamp(36px, 5.5vw, 68px);
  font-weight:   800;
  line-height:   1.1;
  letter-spacing:-0.03em;
  color:         var(--black);
  max-width:     100%;
  margin-bottom: 60px;
}

/* Highlighted phrase in orange */
.solutions__muted { color: var(--orange); }

/* ── SCROLL-BASED TYPING REVEAL ─────────────────────────────── */
.solutions__statement {
  --reveal-progress: 0;
  opacity: calc(0.25 + (0.75 * var(--reveal-progress)));
  transition: opacity 0.1s linear;
}

.solutions__statement .char {
  display: inline;
  color: var(--gray-1);
  transition: color 0.3s ease-out;
  will-change: color;
}

.solutions__statement .char.revealed {
  color: var(--black);
}

/* Orange color for chars inside the muted span - higher specificity */
.solutions__statement .solutions__muted .char.revealed {
  color: var(--orange);
}

/* Smooth momentum is handled via JS interpolation */

/* ── EYEBROW LABEL ───────────────────────────────────────────── */
.solutions__eyebrow {
  display:        block;
  font-size:      clamp(24px, 4vw, 42px);
  font-weight:    800;
  letter-spacing: -0.02em;
  color:          var(--black);
  margin-bottom:  30px;
  text-align:     left;
}

/* ── LIST CONTAINER ──────────────────────────────────────────── */
.solutions__list { border-top: 1px solid var(--gray-light); }

/* ── SINGLE SOLUTION ROW ─────────────────────────────────────── */
.solutions__item {
  display:    block;
  color:      inherit;
  border-bottom: 1px solid var(--gray-light);
  position:   relative;
  overflow:   hidden;
  z-index:    1;
}

/* Dark grey background swipe-up effect */
.solutions__item::before {
  content:    '';
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  height:     0%;
  background: var(--black-2);
  z-index:    -1;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solutions__item:hover::before {
  height:     100%;
}

/* Text color transitions on hover */
.solutions__item .solutions__desc,
.solutions__item .solutions__index {
  transition: color 0.3s ease;
}

.solutions__item:hover .solutions__desc,
.solutions__item:hover .solutions__index {
  color: rgba(255, 255, 255, 0.7);
}

.solutions__item .solutions__mark {
  transition: opacity 0.3s ease;
}

.solutions__item:hover .solutions__mark {
  opacity: 0.05;
}

/* Inner grid: info column (left) + name (right) */
.solutions__row {
  display:     grid;
  grid-template-columns: 260px 1fr;
  gap:         48px;
  align-items: center;
  /* Use container class for horizontal padding, only vertical padding here */
  padding-top:     48px;
  padding-bottom:  48px;
  position:    relative;
  z-index:     2;
}

/* ── LEFT INFO COLUMN ────────────────────────────────────────── */
.solutions__left {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

/* Watermarked brand mark — barely visible, purely decorative */
.solutions__mark {
  color:   var(--black);
  opacity: 0.10;
  width:   fit-content;
  line-height: 0;
}

.solutions__desc {
  font-size:   13px;
  color:       var(--gray-2);
  line-height: 1.65;
  max-width:   200px;
}

.solutions__index {
  font-size:      11px;
  font-weight:    500;
  letter-spacing: 0.06em;
  color:          var(--gray-1);
}

/* ── SOLUTION NAME (right, large) ────────────────────────────── */
.solutions__name {
  font-size:     clamp(44px, 6.5vw, 88px);
  font-weight:   800;
  letter-spacing:-0.04em;
  line-height:   1;
  color:         var(--black);
  transition:    color 0.35s ease;
  position:      relative;
  z-index:       2;
}

.solutions__item:hover .solutions__name {
  color: var(--orange);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solutions__row {
    grid-template-columns: 200px 1fr;
    gap:     32px;
    padding-top:    38px;
    padding-bottom: 38px;
  }
  .solutions__name { font-size: clamp(38px, 5.5vw, 68px); }
}

@media (max-width: 768px) {
  .solutions__row {
    grid-template-columns: 1fr;
    gap:     14px;
    padding-top:    30px;
    padding-bottom: 30px;
  }
  .solutions__name { font-size: clamp(34px, 9vw, 54px); }
  .solutions__mark { display: none; }
}
