/* V2 preview: deliberately scoped to the two editable homepage sections. */

#evolution.evolution-section {
  min-height: 175svh;
}

#evolution .resolver-frame {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

#evolution .resolver-disciplines {
  display: none;
}

#evolution .resolver-workspace {
  grid-template-columns: minmax(28rem, 1.2fr) minmax(20rem, 0.62fr);
}

#evolution .resolver-field {
  min-height: 26rem;
}

#evolution .ohd-v2-collaboration {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(245, 243, 237, 0.22);
}

#evolution .ohd-v2-collaboration a {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem clamp(0.75rem, 1.6vw, 1.4rem);
  color: rgba(245, 243, 237, 0.72);
  border-right: 1px solid rgba(245, 243, 237, 0.18);
  transition: color 180ms ease, background 180ms ease;
}

#evolution .ohd-v2-collaboration a:last-child {
  border-right: 0;
}

#evolution .ohd-v2-collaboration a:hover,
#evolution .ohd-v2-collaboration a:focus-visible {
  color: #f5f3ed;
  background: rgba(245, 243, 237, 0.055);
}

#evolution .ohd-v2-collaboration a:focus-visible {
  outline: 1px solid #ff4b47;
  outline-offset: -3px;
}

#evolution .ohd-v2-mode-index {
  color: #ff4b47;
  font-size: 0.62rem;
  font-weight: 700;
}

#evolution .ohd-v2-mode-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

#evolution .ohd-v2-mode-copy strong {
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

#evolution .ohd-v2-mode-copy span {
  color: rgba(245, 243, 237, 0.48);
  font-size: 0.61rem;
  line-height: 1.35;
}

#evolution .ohd-v2-mode-arrow {
  color: #ff4b47;
  font-size: 1rem;
}

.archive-section.ohd-v2-founder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 18, 20, 0.055) 1px, transparent 1px) 0 0 / 8.333% 100%,
    linear-gradient(180deg, rgba(232, 237, 240, 0.68), rgba(251, 251, 248, 0));
}

.ohd-v2-founder .ohd-v2-founder-inner {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.ohd-v2-founder .ohd-v2-founder-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.38fr) minmax(30rem, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding-top: clamp(2.4rem, 5vw, 5rem);
  border-top: 1px solid var(--line-strong);
}

.ohd-v2-founder .ohd-v2-founder-identity {
  display: grid;
  align-content: start;
  gap: 1.2rem;
}

.ohd-v2-founder .ohd-v2-founder-name {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 620;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.ohd-v2-founder .ohd-v2-founder-meta {
  margin: 0;
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 620;
  line-height: 1.4;
  text-transform: uppercase;
}

.ohd-v2-founder .ohd-v2-founder-meta span:last-child {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.ohd-v2-founder .ohd-v2-founder-content {
  min-width: 0;
}

.ohd-v2-founder .ohd-v2-founder-statement {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.2rem, 4.25vw, 5.25rem);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.ohd-v2-founder .ohd-v2-founder-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.54fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.ohd-v2-founder .ohd-v2-founder-body,
.ohd-v2-founder .ohd-v2-founder-principle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 0.95vw, 0.98rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.ohd-v2-founder .ohd-v2-founder-principle {
  padding-left: 1rem;
  color: var(--ink);
  border-left: 2px solid var(--accent);
}

.ohd-v2-founder .ohd-v2-founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.8rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.ohd-v2-founder .ohd-v2-founder-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
}

.ohd-v2-founder .ohd-v2-founder-actions a::after {
  content: "↗";
  color: var(--accent);
}

@media (max-width: 980px) {
  #evolution.evolution-section {
    min-height: auto;
  }

  #evolution .resolver-pin {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  #evolution .resolver-frame {
    min-height: 850px;
  }

  #evolution .resolver-workspace {
    grid-template-columns: minmax(22rem, 1fr) minmax(17rem, 0.64fr);
  }

  .ohd-v2-founder .ohd-v2-founder-grid {
    grid-template-columns: minmax(11rem, 0.3fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 620px) {
  #evolution .resolver-frame {
    min-height: 0;
    grid-template-rows: auto auto auto auto;
  }

  #evolution .resolver-workspace {
    grid-template-columns: 1fr;
  }

  #evolution .ohd-v2-collaboration {
    grid-template-columns: 1fr;
    margin: 0 -1rem;
  }

  #evolution .ohd-v2-collaboration a {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 243, 237, 0.16);
  }

  #evolution .ohd-v2-collaboration a:last-child {
    border-bottom: 0;
  }

  .ohd-v2-founder .ohd-v2-founder-inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .ohd-v2-founder .ohd-v2-founder-grid,
  .ohd-v2-founder .ohd-v2-founder-body-grid {
    grid-template-columns: 1fr;
  }

  .ohd-v2-founder .ohd-v2-founder-grid {
    gap: 3rem;
    padding-top: 2rem;
  }

  .ohd-v2-founder .ohd-v2-founder-statement {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .ohd-v2-founder .ohd-v2-founder-body-grid {
    gap: 2rem;
    margin-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #evolution .ohd-v2-collaboration a {
    transition: none;
  }
}

