/* =========================================================
   oap.css
   observeadaptprotect.com landing — center content only.
   Header, footer, nav, and the substrate background are the
   forked SecureLynx kit; this file styles the one-page body.
   No em-dash anywhere (family rule). All tokens from colors.css.
   ========================================================= */

/* ---------- HERO: the OAP lockup, resolving to source ---------- */

.oap-hero {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  padding: clamp(140px, 20vh, 220px) 0 clamp(64px, 10vh, 110px);
}

.oap-hero .container {
  max-width: 1180px;
}

.oap-eyebrow {
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* The signature element: the standard-character mark, set large,
   in the locked cyan / green / white form. */
.oap-wordmark {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.oap-wordmark .obs { color: var(--cyan); }
.oap-wordmark .adp { color: var(--green); }
.oap-wordmark .pro { color: var(--white); }

.oap-wordmark .dot {
  color: var(--text-muted);
  font-weight: 400;
  padding: 0 0.18em;
}

.oap-hero .wm-tm {
  font-size: 0.34em;
  vertical-align: 0.95em;
  opacity: 0.8;
}

.oap-rule {
  width: 96px;
  height: 2px;
  margin: 34px auto;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
  opacity: 0.7;
}

.oap-lede {
  margin: 0 auto;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.7;
}

.oap-lede strong { color: var(--text-primary); font-weight: 600; }

/* by SecureLynx — the resolve-to-source tie */
.oap-source {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 10px 20px 10px 14px;
  border: 1px solid var(--border-primary);
  border-radius: 999px;
  background: var(--bg-panel);
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.oap-source:hover,
.oap-source:focus-visible {
  color: var(--text-primary);
  border-color: rgba(0, 230, 255, 0.5);
  box-shadow: var(--glow-cyan-soft);
}

.oap-source img { width: 26px; height: 26px; display: block; }
.oap-source b { color: var(--white); font-weight: 700; letter-spacing: 0.02em; }

.oap-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- FEEDS: the slot the social channels drop into ---------- */

.oap-feeds {
  position: relative;
  z-index: var(--z-base);
  padding: clamp(40px, 7vh, 80px) 0 clamp(80px, 12vh, 130px);
}

.oap-feeds-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vh, 56px);
  text-align: center;
}

.oap-feeds-head .label { display: block; margin-bottom: 12px; }

.oap-feeds-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.oap-feeds-head p {
  margin: 12px auto 0;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.feed-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 255, 0.34);
  box-shadow: var(--glow-cyan-soft);
}

.feed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-secondary);
}

.feed-card__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.feed-card__name svg { width: 16px; height: 16px; display: block; fill: currentColor; }

.feed-card__follow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

.feed-card__follow:hover,
.feed-card__follow:focus-visible { text-decoration: underline; }

/* Empty / placeholder state. The embed iframe or script is pasted
   directly inside .feed-slot, replacing .feed-slot__empty. */
.feed-slot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  min-height: 130px;
}

.feed-slot__empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 200px;
}

.feed-slot__empty .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green-soft);
  vertical-align: middle;
  animation: feedPulse 2.4s ease-in-out infinite;
}

@keyframes feedPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* A live card (channel ready): tag swaps from "soon" to "live" */
.feed-card.is-live .feed-card__name { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  .feed-slot__empty .pulse { animation: none; opacity: 0.7; }
  .feed-card:hover { transform: none; }
}
