/* =================================================================
   mkrops.ai — page layer (VIOLET / agentic surface)
   Links family.css FIRST, then this. --accent resolves to violet via
   <body data-surface="ai">. This file ONLY adds what the shared system
   lacks: public-faces + department refinements, academy + factory layouts,
   the reprime row styling, and agentic-specific spacing. Everything else
   reuses the family primitives (.nav .hero .card .panel .row .ticker
   .foot). Lean by design. stdlib · no build · no fetch.
   ================================================================= */

/* nav: the .ai brand dot + a quiet active marker on the agentic name */
.nav__dot { color: var(--accent-bright); font-weight: 600; }

/* ---------------------------------------------------------------
   HERO — agentic surface gets a second, fainter violet bloom so the
   fleet feels "alive" without shouting. Pure CSS, no JS.
   --------------------------------------------------------------- */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 18% 120%, var(--accent-glow), transparent 60%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 0;
  align-items: center;
}

/* ---------------------------------------------------------------
   WHO YOU'RE TALKING TO — the three honest public faces (Aria · Kyle ·
   Claude). Reuses .card; each face gets the same glyph tile + top
   hairline as the departments, plus a kicker line under the name.
   --------------------------------------------------------------- */
.faces { gap: 1.15rem; }
.face, .dept {
  position: relative; overflow: hidden;
  padding-top: 1.5rem;
}
.face::before, .dept::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0.32; transition: opacity .18s ease;
}
.face:hover::before, .dept:hover::before { opacity: 1; }

/* the glyph tile — the face/department's mark. Larger than a card icon. */
.face__glyph, .dept__glyph {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--accent-glow); color: var(--accent-bright);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  font-size: 1.15rem; line-height: 1;
}

.face__name {
  margin: 0 0 0.15rem; font-size: 1.08rem; font-weight: 660;
  letter-spacing: -0.015em; color: var(--fg);
}
.face__kicker {
  margin: 0 0 0.55rem; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-bright);
}
.face__role { margin: 0; font-size: 0.92rem; color: var(--fg-soft); line-height: 1.5; }

/* ---------------------------------------------------------------
   THE DEPARTMENTS — the army by role-type, NOT by name. Four cards,
   each the public face of a function. No backend codenames here.
   --------------------------------------------------------------- */
.depts { gap: 1.15rem; }
.dept__name {
  margin: 0 0 0.35rem; font-size: 1.08rem; font-weight: 660;
  letter-spacing: -0.015em; color: var(--fg);
}
.dept__role { margin: 0; font-size: 0.9rem; color: var(--fg-soft); line-height: 1.5; }
.dept__meta {
  margin-top: 0.95rem; padding-top: 0.7rem; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.03em;
  color: var(--fg-mute); display: flex; align-items: center; gap: 0.45rem;
}
.dept__lens { color: var(--accent-bright); }

/* ---------------------------------------------------------------
   SECTION HEAD HELPERS — a centered intro block reused by academy /
   factory, plus a mock-label that rides next to an eyebrow.
   --------------------------------------------------------------- */
.head { max-width: 62ch; margin-bottom: 2.4rem; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .section__lede { margin-left: auto; margin-right: auto; }
.eyebrow-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.eyebrow-row .section__eyebrow { margin-bottom: 0; }

/* ---------------------------------------------------------------
   ACADEMY — lesson tracks. Reuse .card; add a small "track no." chip
   and a tighter body so the catalog reads like a syllabus.
   --------------------------------------------------------------- */
.track__no {
  font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.55rem;
}
.track__body { margin: 0; font-size: 0.9rem; color: var(--fg-soft); }

/* ---------------------------------------------------------------
   REPRIME — the reset/reprime panel. The mock sequence rides as .row
   items but each numbered step gets a violet ordinal so the boot
   pattern is legible at a glance.
   --------------------------------------------------------------- */
.reprime { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.15rem; align-items: start; }
.reprime__copy .section__lede { margin-bottom: 1.2rem; }
.reprime__note {
  margin: 1.1rem 0 0; font-size: 0.86rem; color: var(--fg-mute);
  border-left: 2px solid var(--accent-deep); padding-left: 0.85rem;
}
.step__n {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--accent-glow); color: var(--accent-bright);
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
}
.step__label { color: var(--fg); }
.step__src { margin-left: auto; color: var(--fg-mute); font-family: var(--mono); font-size: 0.78rem; }

/* ---------------------------------------------------------------
   FACTORY — the self-entity mint pipeline. A numbered step grid that
   reuses .card but adds a connecting cue and a mint-output footer.
   --------------------------------------------------------------- */
.mint__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px; margin-bottom: 0.8rem;
  background: var(--ink-750); color: var(--accent-bright);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
}
.mint__title { margin: 0 0 0.35rem; font-size: 1rem; font-weight: 640; letter-spacing: -0.01em; }
.mint__body { margin: 0; font-size: 0.9rem; color: var(--fg-soft); }
.mint__out {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center; font-size: 0.9rem; color: var(--fg-soft);
}

/* ---------------------------------------------------------------
   CTA BAND — a quiet violet-keyed strip before the footer.
   --------------------------------------------------------------- */
.band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 130% at 50% 0%, var(--accent-glow), transparent 60%),
    var(--ink-850);
  text-align: center;
}
.band__title {
  margin: 0 0 0.7rem; font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 680; letter-spacing: -0.025em; color: var(--fg);
}
.band__lede { margin: 0 auto 1.8rem; max-width: 52ch; color: var(--fg-soft); font-size: 1.04rem; }
.band__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---------------------------------------------------------------
   RESPONSIVE — collapse the fleet grid + reprime split on small.
   (family.css already collapses .grid--3/4 to 1col under 880px.)
   --------------------------------------------------------------- */
@media (max-width: 880px) {
  .reprime { grid-template-columns: 1fr; }
}
