/**
 * Umbra — #protocols org vs solo dual-lane layouts
 */

#protocols.um-proto-page {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.um-proto-intro {
  text-align: center;
  padding: clamp(48px, 10vw, 96px) 0 clamp(28px, 5vw, 44px);
  max-width: 860px;
  margin: 0 auto;
}

.um-proto-intro .um-kicker {
  margin-bottom: 0.85rem;
}

.um-proto-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

.um-proto-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65rem 1.35rem;
  font-size: 0.7825rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.92);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.um-proto-jump a:hover {
  border-color: rgba(251, 99, 6, 0.45);
  background: rgba(251, 99, 6, 0.08);
  color: #fff;
}

.um-proto-jump a:focus-visible {
  outline: 2px solid rgba(251, 99, 6, 0.55);
  outline-offset: 3px;
}

/* —— Org lane (cool, spec sheet) —— */
.um-proto-pane--org {
  position: relative;
  padding: clamp(44px, 8vw, 92px) 0 clamp(52px, 9vw, 100px);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(ellipse 72% 50% at 12% 20%, rgba(71, 85, 105, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(11, 11, 15, 0.98), rgba(15, 16, 22, 0.92));
}

.um-proto-pane--org::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.075;
  background-image: repeating-linear-gradient(
    105deg,
    transparent,
    transparent 16px,
    rgba(248, 250, 252, 0.05) 16px,
    rgba(248, 250, 252, 0.05) 17px
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    black 42%,
    black 72%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.um-proto-pane--org > .um-wrap {
  position: relative;
  z-index: 1;
}

.um-proto-pane-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.55rem;
}

.um-proto-pane-org-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.52rem, 3.8vw, 2.1875rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.62rem;
  color: var(--text);
}

.um-proto-pane-org-lede {
  color: rgba(203, 213, 225, 0.9);
  font-size: 0.9575rem;
  line-height: 1.64;
  max-width: 64ch;
  margin-bottom: 2rem;
}

.um-proto-topos {
  display: grid;
  gap: clamp(14px, 2.5vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}

.um-proto-topos-card {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.45);
}

.um-proto-topos-head {
  font-size: 0.7475rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 0.52rem;
}

.um-proto-topos-body {
  font-size: 0.8375rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.94);
}

.um-proto-enterprise-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.um-proto-e-card {
  padding: clamp(22px, 3.8vw, 30px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.um-proto-e-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.72rem;
}

.um-proto-e-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0775rem;
  letter-spacing: -0.02em;
}

.um-proto-spec {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(203, 213, 225, 0.9);
}

.um-proto-e-text {
  font-size: 0.8925rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

.um-proto-e-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.92rem;
  list-style: none;
  padding: 0;
}

.um-proto-e-chiprow li {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(203, 213, 225, 0.88);
}

/* —— Solo lane (warm, catalog) —— */
.um-proto-pane--solo {
  position: relative;
  padding: clamp(52px, 10vw, 108px) 0 clamp(64px, 12vw, 114px);
  background:
    radial-gradient(ellipse 88% 45% at 82% -8%, rgba(251, 99, 6, 0.12), transparent 48%),
    radial-gradient(ellipse 55% 38% at 8% 70%, rgba(194, 65, 12, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(12, 8, 6, 0.97), rgba(17, 12, 10, 0.92));
}

.um-proto-pane--solo > .um-wrap {
  position: relative;
  z-index: 1;
}

.um-proto-solo-intro {
  margin-bottom: clamp(2rem, 4vw, 2.85rem);
  max-width: 68ch;
}

.um-proto-solo-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6275rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(251, 147, 60, 0.85);
  margin-bottom: 0.55rem;
}

.um-proto-solo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.48rem, 3.5vw, 2.0875rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.um-proto-solo-lede {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.um-proto-solo-cross {
  margin-top: 0.92rem;
  font-size: 0.8375rem;
  line-height: 1.62;
}

.um-proto-solo-cross a {
  color: var(--teal-bright);
  font-weight: 600;
}

.um-proto-solo-cross a:hover {
  text-decoration: underline;
}

.um-proto-group + .um-proto-group {
  margin-top: clamp(2.25rem, 4vw, 3rem);
}

.um-proto-group-head {
  margin-bottom: 1rem;
}

.um-proto-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  letter-spacing: -0.02em;
}

.um-proto-group-blurb {
  margin-top: 0.4rem;
  font-size: 0.8675rem;
  line-height: 1.55;
  color: rgba(231, 216, 200, 0.78);
}

.um-proto-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.um-proto-stack-card {
  padding: clamp(18px, 3vw, 24px);
  display: flex;
  flex-direction: column;
}

.um-proto-mini-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.72rem;
  font-family: var(--font-mono);
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(251, 99, 6, 0.28);
  background: rgba(251, 99, 6, 0.1);
  color: rgba(254, 215, 170, 0.95);
}

.um-proto-stack-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.52rem;
  letter-spacing: -0.015em;
}

.um-proto-stack-sum {
  font-size: 0.865rem;
  line-height: 1.58;
  color: rgba(245, 240, 230, 0.78);
}

.um-proto-stack-feat {
  margin: 1rem 0 0;
  padding-left: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(203, 198, 192, 0.88);
}

.um-proto-stack-feat li + li {
  margin-top: 0.4rem;
}

@media (prefers-reduced-motion: reduce) {
  .um-proto-pane--org::before {
    opacity: 0.04;
  }
}

@media (max-width: 620px) {
  .um-proto-jump {
    flex-direction: column;
    align-items: stretch;
  }
}
