/* ===========================================================
   GPACTS - shared subpage primitives (page head, editorial)
   Pairs with tokens.css + home.css (nav/footer/btn/marquee).
   =========================================================== */

/* page head (sub-hero) */
.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 18, 0.8) 0%,
      rgba(10, 10, 18, 0.88) 55%,
      #0a0a12 100%
    ),
    radial-gradient(
      110% 120% at 88% 0%,
      rgba(124, 90, 247, 0.32),
      transparent 55%
    ),
    url("../assets/hero-crowd.jpg") center 26% / cover no-repeat;
}
.page-head .wrap {
  padding-top: clamp(56px, 8vh, 100px);
  padding-bottom: clamp(48px, 6vh, 76px);
  position: relative;
  z-index: 2;
}
.page-head .kicker {
  margin-bottom: 20px;
}
.page-head h1 {
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: #fff;
}
.page-head .ph-sub {
  margin-top: 24px;
  max-width: 60ch;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--text-2);
}
.page-head .ph-arrow {
  position: absolute;
  right: -160px;
  top: -120px;
  width: 560px;
  height: 560px;
  opacity: 0.42;
  filter: drop-shadow(0 30px 80px rgba(124, 90, 247, 0.5));
  z-index: 1;
  animation: phFloat 9s ease-in-out infinite;
}
@keyframes phFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(-2.5deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-head .ph-arrow {
    animation: none;
  }
}
.page-head.tall .wrap {
  padding-top: clamp(70px, 11vh, 140px);
  padding-bottom: clamp(60px, 9vh, 110px);
}

/* integrity / note callout */
.integrity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 34px;
  padding: 16px 20px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--emerald);
  border-radius: 12px;
  background: rgba(46, 230, 160, 0.05);
  max-width: 760px;
}
.integrity .ico {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 1px;
}
.integrity p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

/* generic editorial section */
.psection {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vh, 140px) var(--gutter);
}
.psection.narrow {
  max-width: 980px;
}
.psection + .psection {
  padding-top: 0;
}
@media (max-width: 760px) {
  .psection {
    padding: 36px var(--gutter);
  }
}
.eyebrow-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
}
@media (max-width: 860px) {
  .eyebrow-lead {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.eyebrow-lead .col-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  padding-top: 8px;
}
.prose h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.prose p {
  margin: 22px 0 0;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--text-1);
  max-width: 50ch;
}
.prose p.muted {
  color: var(--text-2);
}
.prose .fwd {
  color: var(--emerald);
  font-weight: 700;
}

/* principle / feature cards (reuse pattern) */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 760px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
}
.pcard {
  background: #0a0a12;
  padding: clamp(30px, 3vw, 48px);
  transition: background 0.3s;
}
.pcard:hover {
  background: #0e0c1a;
}
.pcard .pc-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet-bright);
  letter-spacing: 0.1em;
}
.pcard h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: #fff;
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}
.pcard p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.5;
}

/* big quote / vision */
.vision {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, #0c0a18, #07070d);
  overflow: hidden;
}
.vision .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(50px, 8vh, 100px) var(--gutter);
  position: relative;
  z-index: 2;
}
.vision blockquote {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 20ch;
}
.vision blockquote .fwd {
  color: var(--emerald);
}
.vision .v-arrow {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.1;
  z-index: 1;
}

/* simple two-col list (who should attend) */
.attend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.attend-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.attend-item:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
}
.attend-item .ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-bright);
  flex-shrink: 0;
}
.attend-item span {
  color: var(--text-1);
  font-size: 16px;
}

/* closing forward sign-off */
.closing {
  text-align: center;
  padding: clamp(60px, 8vh, 110px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.closing p {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 500;
  color: var(--text-1);
  max-width: 24ch;
  margin: 0 auto 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.closing .fwd-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 11vw, 150px);
  color: var(--emerald);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--hairline);
  background: #07070d;
}
.cta-band .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 10vh, 130px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.cta-band h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.cta-band .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
