/* OpenSkyX Organization Intelligence — section styles
   Extends /assets/open-sky-marketing.css. Brand palette only. */

/* ————— Section sub-navigation ————— */
.int-subnav {
  position: sticky;
  top: var(--header);
  z-index: 30;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 196, 99, 0.18);
}
.int-subnav .wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.int-subnav__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  white-space: nowrap;
  margin-right: 0.75rem;
}
.int-subnav a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.int-subnav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.int-subnav a.active { background: rgba(232, 196, 99, 0.16); color: var(--brass-light); }
.int-subnav a.int-subnav__cta {
  margin-left: auto;
  border: 1px solid rgba(232, 196, 99, 0.45);
  color: var(--brass-light);
}
.int-subnav a.int-subnav__cta:hover { background: var(--gold-grad); color: var(--navy-deep); }

/* ————— Dark hero ————— */
.int-hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  padding: calc(var(--header) + 4rem) 0 4rem;
}
.int-hero__media {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.int-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.int-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 27, 42, 0.96) 30%, rgba(13, 27, 42, 0.55) 70%, rgba(13, 27, 42, 0.85));
}
.int-hero .wrap { position: relative; z-index: 1; }
.int-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  max-width: 18ch;
}
.int-hero .page-lead { color: rgba(255, 255, 255, 0.78); max-width: 42rem; margin-top: 1.5rem; }
.int-hero .eyebrow { color: var(--brass-light); }
.int-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232, 196, 99, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  background: rgba(232, 196, 99, 0.07);
}
.int-kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-light);
  animation: int-pulse 3.5s ease-in-out infinite;
}

/* ————— Tension Lens / radar marketing (World Monitor spirit, Open Sky palette) ————— */
@keyframes tl-sweep { to { transform: rotate(360deg); } }
@keyframes tl-ping {
  0% { box-shadow: 0 0 0 0 rgba(232, 196, 99, 0.45); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(232, 196, 99, 0); }
}
.tl-radar-hero {
  display: grid;
  grid-template-columns: 1fr min(520px, 100%);
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .tl-radar-hero { grid-template-columns: 1fr; }
}
.tl-radar {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.tl-radar__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 196, 99, 0.28);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.tl-radar__ring--outer {
  inset: 0;
  transform: none;
  top: 0; left: 0;
  background: radial-gradient(circle at center, rgba(232, 196, 99, 0.07), transparent 70%);
}
.tl-radar__cross-v,
.tl-radar__cross-h {
  position: absolute;
  background: rgba(232, 196, 99, 0.12);
}
.tl-radar__cross-v { top: 0; bottom: 0; left: 50%; width: 1px; }
.tl-radar__cross-h { left: 0; right: 0; top: 50%; height: 1px; }
.tl-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 285deg,
    rgba(232, 196, 99, 0.05) 320deg,
    rgba(232, 196, 99, 0.22) 358deg,
    rgba(232, 196, 99, 0.35) 360deg
  );
  animation: tl-sweep 7s linear infinite;
}
.tl-radar__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 196, 99, 0.85);
  white-space: nowrap;
}
.tl-radar__label--me {
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
}
.tl-radar__blip {
  position: absolute;
  border-radius: 50%;
  background: var(--brass-light);
  animation: tl-ping 3.2s ease-out infinite;
}
.tl-mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.tl-chip {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(232, 196, 99, 0.35);
  border-radius: 2px;
  color: var(--brass-light);
}
.tl-chip--muted {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}
.tl-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 720px) {
  .tl-flow { grid-template-columns: 1fr; }
  .tl-flow__arrow { text-align: center; transform: rotate(90deg); }
}
.tl-panel {
  border: 1px solid rgba(232, 196, 99, 0.22);
  border-radius: 4px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}
.tl-panel--accent {
  border-color: rgba(232, 196, 99, 0.45);
  background: rgba(232, 196, 99, 0.06);
}
.tl-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .tl-pipeline { grid-template-columns: repeat(2, 1fr); }
}
.tl-pipe-step {
  border: 1px solid rgba(23, 52, 92, 0.12);
  border-radius: 4px;
  padding: 1rem 0.85rem;
  background: var(--paper);
  min-height: 7rem;
}
.tl-pipe-step .n {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.7rem;
  color: var(--brass);
  letter-spacing: 0.12em;
}
.tl-pipe-step h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0.4rem 0 0.35rem;
  color: var(--navy);
}
.tl-pipe-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.tl-console {
  border: 1px solid rgba(232, 196, 99, 0.28);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(13, 27, 42, 0.55);
}
.tl-console__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(232, 196, 99, 0.18);
  background: rgba(232, 196, 99, 0.06);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.tl-console__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .tl-console__grid { grid-template-columns: 1fr; }
}
.tl-console__col {
  padding: 1.5rem 1.5rem 1.75rem;
}
.tl-console__col + .tl-console__col {
  border-left: 1px solid rgba(232, 196, 99, 0.14);
}
@media (max-width: 720px) {
  .tl-console__col + .tl-console__col { border-left: none; border-top: 1px solid rgba(232, 196, 99, 0.14); }
}
.tl-gauge {
  margin-bottom: 1.1rem;
}
.tl-gauge__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
}
.tl-gauge__bar {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(159, 176, 192, 0.7), rgba(232, 196, 99, 0.75));
  position: relative;
}
.tl-gauge__needle {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 11px;
  background: #fff;
}
.tl-principle {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(23, 52, 92, 0.15);
  border-radius: 2px;
  color: var(--navy);
  background: var(--paper);
  margin: 0 0.4rem 0.4rem 0;
}
@keyframes int-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ————— Dark band (Palantir-style statement sections) ————— */
.int-band {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.int-band h2 { color: var(--white); }
.int-band h3 { color: var(--brass-light); }
.int-band .eyebrow { color: var(--brass-light); }
.int-band .page-lead { color: rgba(255, 255, 255, 0.72); }
.int-band--navy { background: var(--navy); }

/* ————— Doctrine statements ————— */
.int-doctrine {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  max-width: 30ch;
}
.int-band .int-doctrine, .int-hero .int-doctrine { color: var(--white); }
.int-doctrine em, .int-doctrine strong { color: var(--brass); font-style: italic; font-weight: 500; }
.int-band .int-doctrine em, .int-band .int-doctrine strong { color: var(--brass-light); }

/* ————— Ontology node map ————— */
.int-ontology-core {
  margin: 2.5rem auto 0;
  max-width: 760px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(232, 196, 99, 0.3);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(23, 52, 92, 0.55), rgba(13, 27, 42, 0.35));
  text-align: center;
}
.int-ontology-core .eyebrow { margin-bottom: 0.4rem; }
.int-node-map {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.int-node-map span {
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(159, 176, 192, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(159, 176, 192, 0.08);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.int-node-map span:hover {
  border-color: var(--brass-light);
  background: rgba(232, 196, 99, 0.12);
  transform: translateY(-2px);
}

/* ————— Flow / cycle strip ————— */
.int-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.int-flow > div {
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(23, 52, 92, 0.22);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 12px 26px -22px rgba(13, 27, 42, 0.55);
}
.int-flow > div.int-flow__human {
  border-color: rgba(176, 128, 31, 0.55);
  background: rgba(232, 196, 99, 0.14);
}
.int-flow > span {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.int-band .int-flow > div {
  border-color: rgba(159, 176, 192, 0.3);
  background: rgba(23, 52, 92, 0.5);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}
.int-band .int-flow > div.int-flow__human {
  border-color: rgba(232, 196, 99, 0.55);
  background: rgba(232, 196, 99, 0.12);
  color: var(--brass-light);
}
.int-band .int-flow > span { color: var(--brass-light); }

/* ————— Card grids ————— */
.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.int-grid--two { grid-template-columns: repeat(2, 1fr); }
.int-grid--four { grid-template-columns: repeat(4, 1fr); }
.int-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid rgba(23, 52, 92, 0.1);
  border-radius: 6px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.int-card:hover { border-color: rgba(176, 128, 31, 0.4); }
.int-card h3 { font-size: 1.3rem; }
.int-card p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.6; }
.int-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass);
}
.int-band .int-card {
  background: rgba(23, 52, 92, 0.42);
  border-color: rgba(159, 176, 192, 0.22);
}
.int-band .int-card h3 { color: var(--brass-light); }
.int-band .int-card p { color: rgba(255, 255, 255, 0.72); }
a.int-card { text-decoration: none; }
a.int-card .link-arrow {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ————— Phase timeline (how we work) ————— */
.int-phases { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid rgba(14, 24, 34, 0.12); }
.int-phase {
  display: grid;
  grid-template-columns: 6.5rem 1fr 2fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(14, 24, 34, 0.12);
}
.int-phase__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--brass);
  line-height: 1;
}
.int-phase h3 { font-size: 1.45rem; }
.int-phase__meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass);
}
.int-phase p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; }
.int-phase ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.65; }

/* ————— Provenance / evidence ledger detail ————— */
.int-ledger {
  margin-top: 2rem;
  border: 1px solid rgba(159, 176, 192, 0.28);
  border-radius: 8px;
  background: rgba(13, 27, 42, 0.55);
  padding: 1.5rem 1.6rem;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 0.78rem;
  line-height: 1.85;
  color: rgba(159, 176, 192, 0.95);
  overflow-x: auto;
}
.int-ledger b { color: var(--brass-light); font-weight: 600; }
.int-ledger i { color: rgba(255, 255, 255, 0.9); font-style: normal; }
.int-ledger .ok { color: #9fc0a8; }

/* ————— Stat / conviction row ————— */
.int-convictions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.int-conviction { border-top: 2px solid var(--brass); padding-top: 1.1rem; }
.int-conviction h3 { font-size: 1.2rem; }
.int-conviction p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.int-band .int-conviction { border-top-color: var(--brass-light); }
.int-band .int-conviction p { color: rgba(255, 255, 255, 0.72); }

/* ————— Concept figure ————— */
.int-figure {
  margin: 2.5rem 0 0;
  border: 1px solid rgba(23, 52, 92, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-deep);
}
.int-figure img { width: 100%; }
.int-figure figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(159, 176, 192, 0.18);
}

/* ————— Status strip ————— */
.int-status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.25rem;
  margin-top: 2.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(159, 176, 192, 0.9);
}

/* ————— Responsive ————— */
@media (max-width: 960px) {
  .int-grid, .int-grid--four { grid-template-columns: repeat(2, 1fr); }
  .int-convictions { grid-template-columns: 1fr; gap: 1.5rem; }
  .int-phase { grid-template-columns: 1fr; gap: 0.75rem; }
}
@media (max-width: 640px) {
  .int-grid, .int-grid--two, .int-grid--four { grid-template-columns: 1fr; }
  .int-subnav a.int-subnav__cta { display: none; }
}
