/* Mainely Northstar — Great North / Providence alignment layer v1.0 */
.great-north-bar {
  position: relative;
  z-index: 120;
  border-bottom: 1px solid rgba(91, 221, 255, .18);
  background: linear-gradient(90deg, rgba(5, 36, 70, .96), rgba(6, 23, 53, .96), rgba(8, 47, 62, .92));
}
.great-north-bar .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .42rem .85rem;
  color: #bcd5e6;
  font-size: .76rem;
  letter-spacing: .04em;
}
.great-north-bar strong {
  color: #37e5c0;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.great-north-bar a { color: #fff; font-weight: 850; }
.great-north-bar a::after { content: " ↗"; color: #4be7ff; }

.providence-context {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(108, 220, 255, .1);
  border-bottom: 1px solid rgba(108, 220, 255, .1);
  background:
    radial-gradient(circle at 15% 0, rgba(62, 220, 255, .11), transparent 26rem),
    radial-gradient(circle at 90% 10%, rgba(50, 234, 188, .08), transparent 25rem),
    linear-gradient(180deg, rgba(3, 18, 44, .68), rgba(4, 27, 53, .5));
}
.providence-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}
.providence-visual {
  border: 1px solid rgba(88, 215, 255, .22);
  border-radius: 28px;
  overflow: hidden;
  background: #f8fbff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .44), 0 0 44px rgba(75, 231, 255, .08);
}
.providence-visual img { display: block; width: 100%; height: auto; }
.providence-copy h2 { max-width: 850px; }
.providence-copy .section-intro { max-width: 760px; }
.providence-chain { display: grid; gap: 10px; margin-top: 1.6rem; }
.providence-chain article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 17px;
  border: 1px solid rgba(151, 213, 244, .15);
  border-radius: 17px;
  background: rgba(5, 25, 54, .72);
}
.providence-chain strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(75, 231, 255, .3);
  border-radius: 50%;
  color: #4be7ff;
  background: rgba(75, 231, 255, .08);
}
.providence-chain h3 { margin: 0 0 .25rem; font-size: 1rem; }
.providence-chain p { margin: 0; font-size: .84rem; }
.providence-rule {
  margin-top: 1.15rem;
  padding: 17px 19px;
  border-left: 3px solid #ff7b86;
  border-radius: 0 17px 17px 0;
  color: #ffe9ec;
  background: rgba(255, 123, 134, .08);
}

.northstar-authority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 1.8rem;
}
.northstar-authority-card {
  padding: 22px;
  border: 1px solid rgba(151, 213, 244, .15);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(8, 35, 68, .72), rgba(2, 13, 34, .92));
}
.northstar-authority-card:first-child { border-top-color: #37e5c0; }
.northstar-authority-card:last-child { border-top-color: #ffc94a; }
.northstar-authority-card h3 { margin-bottom: .8rem; }
.northstar-authority-card ul { margin: 0; padding: 0; list-style: none; }
.northstar-authority-card li { padding: .58rem 0; border-bottom: 1px solid rgba(151, 213, 244, .1); color: var(--muted); }
.northstar-authority-card li:last-child { border-bottom: 0; }
.northstar-authority-card:first-child li::before { content: "✓"; margin-right: .55rem; color: #37e5c0; font-weight: 900; }
.northstar-authority-card:last-child li::before { content: "→"; margin-right: .55rem; color: #ffc94a; font-weight: 900; }

.architecture-document-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .46fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(55, 229, 192, .23);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(55, 229, 192, .1), transparent 24rem),
    linear-gradient(135deg, rgba(7, 37, 70, .88), rgba(1, 12, 31, .96));
  box-shadow: 0 30px 96px rgba(0, 0, 0, .42);
}
.architecture-document-panel h2 { max-width: 800px; }
.architecture-document-panel figure { margin: 0; justify-self: end; width: min(100%, 285px); transform: rotate(2deg); }
.architecture-document-panel figure img { display: block; width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.44); }
.architecture-document-panel .hero-actions { margin-top: 1.4rem; }

.family-action {
  display: inline-flex;
  margin-top: .75rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
}
.family-action::after { content: " ↗"; color: #4be7ff; }

.release-posture-note {
  margin-top: 1.25rem;
  padding: 16px 18px;
  border: 1px solid rgba(255, 201, 74, .25);
  border-radius: 17px;
  color: #ffe6aa;
  background: rgba(255, 201, 74, .07);
}

.provider-first-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(55, 229, 192, .32) !important;
  background: linear-gradient(145deg, rgba(5, 48, 70, .72), rgba(3, 17, 44, .92)) !important;
}
.provider-first-card::after {
  content: "FIRST-PARTY";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: .32rem .52rem;
  border: 1px solid rgba(55, 229, 192, .32);
  border-radius: 999px;
  color: #37e5c0;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.site-footer .footer-links { flex-wrap: wrap; }
.footer-architecture-link { color: #37e5c0 !important; }

@media (max-width: 900px) {
  .providence-grid,
  .architecture-document-panel { grid-template-columns: 1fr; }
  .architecture-document-panel figure { justify-self: start; }
}
@media (max-width: 680px) {
  .northstar-authority-grid { grid-template-columns: 1fr; }
  .great-north-bar .container { justify-content: flex-start; padding-block: .55rem; }
  .great-north-bar span { flex-basis: 100%; }
  .providence-chain article { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .architecture-document-panel figure { transform: none; }
}
