/* ========================================
   Partner Brief extensions
   Scoped layout + co-brand Human+Tech Week × HUMN (HTWHUMNpartnership)
   ======================================== */

/* HTW accent tokens (additions; does not replace main :root block) */
:root {
  --htw-purple: #7c3aed;
  --htw-purple-soft: rgba(124, 58, 237, 0.22);
  --htw-lavender: #c4b5fd;
}

/* Partner brief only: static navy backdrop (no animated video); overlay + glass unchanged */
.partner-brief-page {
  background: var(--navy-dark);
}

.partner-brief-page .video-background .fullscreen-video {
  display: none;
}

.partner-brief-page .video-background {
  background-color: var(--navy-dark);
  background-image:
    radial-gradient(
      ellipse 140% 95% at 50% -5%,
      rgba(124, 58, 237, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 85% 65% at 100% 40%,
      rgba(124, 58, 237, 0.14) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 75% 55% at 5% 65%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 48%
    ),
    radial-gradient(
      ellipse 60% 45% at 85% 92%,
      rgba(212, 175, 55, 0.07) 0%,
      transparent 45%
    ),
    linear-gradient(168deg, var(--navy-dark) 0%, #182339 38%, #0f1624 100%);
}

.partner-brief-page .overlay {
  background: linear-gradient(
    to bottom,
    rgba(22, 34, 56, 0.45) 0%,
    rgba(22, 34, 56, 0.62) 30%,
    rgba(22, 34, 56, 0.78) 100%
  );
}

.partner-visual-placeholder {
  box-sizing: border-box;
  min-height: 200px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    148deg,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(34, 48, 76, 0.42) 45%,
    rgba(212, 175, 55, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-poppins);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 0 20px var(--htw-purple-soft);
}

.panel-roster-list {
  list-style: none;
  padding-left: 0;
  max-width: 36rem;
  margin: 0 auto 28px auto;
  text-align: left;
}

.panel-roster-list li {
  margin-bottom: 12px;
}

.panel-roster-list li:last-child {
  margin-bottom: 0;
}

.partner-brief-page .activation-pennies {
  min-height: 180px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  padding: 14px 20px;
  background: rgba(34, 48, 76, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(212, 175, 55, 0.12),
    0 8px 28px var(--htw-purple-soft);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-poppins);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

.route-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.partner-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 28px;
}

/* HTW-led overview lockup: wordmark + co-brand glow */
.partner-lockup--htw-first {
  padding: 18px 22px 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    0 0 0 1px var(--htw-purple-soft),
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(124, 58, 237, 0.12);
}

.partner-lockup-htw-wordmark {
  font-family: var(--font-poppins);
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--htw-lavender);
  text-shadow: 0 0 28px var(--htw-purple-soft);
  line-height: 1.25;
  max-width: 16em;
  text-align: center;
}

.partner-lockup--htw-first .partner-lockup-times {
  color: rgba(196, 181, 253, 0.65);
  text-shadow: 0 0 18px var(--htw-purple-soft);
}

.partner-lockup-logo.logo {
  width: min(240px, 76vw);
}

.partner-lockup-times {
  font-size: 1.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}

.partner-lockup-nx {
  width: min(120px, 28vw);
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 22px var(--htw-purple-soft);
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-eyebrow--htw {
  color: var(--htw-lavender);
  text-shadow: 0 0 24px var(--htw-purple-soft);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 20px var(--htw-purple-soft);
  display: inline-block;
  text-transform: none;
  letter-spacing: 0.08em;
}

.hero-meta-partner {
  margin-top: -12px;
}

.hero-subtitle-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 520px;
}

.hero-subtitle-meta ion-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--gold);
}

.manifesto-gap-after {
  margin-bottom: 40px;
}

.layer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
  margin-top: 8px;
}

.layer-card {
  background: rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.3s ease;
}

.layer-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 36px var(--htw-purple-soft);
}

.layer-card-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.layer-card-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 0 0 12px 0;
}

.layer-card-copy {
  margin: 0;
  text-align: left;
}

.section-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 800px;
  margin: -32px auto 40px auto;
  text-align: center;
}

.section-lead.centered,
.community-lead {
  margin-left: auto;
  margin-right: auto;
}

.phase-tag {
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
}

.steps-grid-phases {
  grid-template-columns: 1fr;
}

.nx250-visual {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.nx250-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.nx250-visual--hero-extra {
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.nx250-visual--steps {
  max-width: 520px;
  margin: 0 auto 28px auto;
}

.activation-grid {
  display: grid;
  gap: 22px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.activation-grid-metrics {
  margin-bottom: 24px;
}

.activation-grid-feeds {
  margin-bottom: 24px;
}

.activation-grid-footer-note {
  margin-bottom: 32px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .activation-grid-metrics,
  .activation-grid-feeds,
  .activation-grid-footer-note {
    grid-template-columns: repeat(2, 1fr);
  }
}

.activation-still {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  min-height: 160px;
  background: rgba(34, 48, 76, 0.5);
}

.activation-metric-card.activation-metric-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px !important;
  background: rgba(255, 255, 255, 0.09);
}

.video-card .activation-still {
  min-height: 200px;
}

.activation-metric-card.video-card {
  justify-content: flex-start;
  align-items: stretch;
}

.activation-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}

.activation-list {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.activation-list li {
  margin-bottom: 10px;
}

.activation-list li:last-child {
  margin-bottom: 0;
}

.activation-pennies-wrap {
  min-height: 180px;
}

.activation-microcopy {
  margin: 0;
  align-self: center;
  text-align: left;
}

.community-actions {
  margin-top: 8px;
}

.partner-lockup-footer {
  flex-direction: column;
  gap: 8px;
}

.footer-lockup-muted {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
}

.footer-cobrand {
  font-family: var(--font-poppins);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-shadow: 0 0 22px var(--htw-purple-soft);
}

.footer-cobrand-wrap {
  align-items: center;
}

.partner-card-grid {
  display: grid;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto 40px auto;
}

.partner-card {
  background: rgba(255, 255, 255, 0.095);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 12px;
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.3),
    0 0 32px var(--htw-purple-soft);
}

.partner-card-index {
  font-family: var(--font-poppins);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.partner-card-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.partner-card-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 8px 0;
  flex: 1;
}

.btn-sm-partner {
  align-self: flex-start;
  min-height: 46px !important;
  height: auto !important;
  font-size: 0.88rem !important;
  padding: 10px 22px !important;
}

.final-cta-app-note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .layer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps-grid-phases {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 10px 14px;
    padding: 12px 14px;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  .partner-lockup-times {
    display: none;
  }
}

/* ========================================
   Partner mark / logo placeholders (mini-site)
   Frosted placeholder tiles when partner logos are deferred
   ======================================== */
.logo-placeholder,
.partner-mark-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.partner-lockup-nx.partner-mark-placeholder.logo-placeholder {
  min-height: 72px;
  aspect-ratio: 1;
  max-width: min(120px, 28vw);
  max-height: min(120px, 28vw);
  margin: 0 auto;
}

.logo-placeholder__text,
.partner-mark-placeholder__text {
  font-family: var(--font-poppins);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.4;
  max-width: 10em;
  text-shadow: 0 0 18px var(--htw-purple-soft);
}

/* ========================================
   Partner brief hero CTAs
   Root styles use fixed .btn height + row layout from 768px; restore wrapping/icon alignment here only.
   ======================================== */
.partner-brief-page .btn {
  box-sizing: border-box;
  padding: 12px 28px;
  min-height: 54px;
  height: auto;
  line-height: 1.3;
  gap: 10px;
}

.partner-brief-page .btn ion-icon {
  flex-shrink: 0;
  width: 1.35em;
  height: 1.35em;
}

.partner-brief-page .btn__text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  text-align: left;
}

.partner-brief-page .btn-accent {
  min-height: 50px;
  height: auto;
  padding: 12px 32px;
}

.partner-brief-page .hero-buttons {
  flex-direction: column;
  align-items: stretch;
  max-width: min(420px, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.partner-brief-page .hero-buttons .btn {
  width: 100%;
  flex: none;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
}

.partner-brief-page .hero-buttons .btn:not(:has(ion-icon)) {
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 480px) {
  .partner-brief-page .btn {
    min-height: 48px;
    height: auto;
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .partner-brief-page .btn {
    min-height: 44px;
    height: auto;
  }
}
