/* Prometheus page — page-scoped components.
   Loaded AFTER styles.css. Inherits all tokens from :root there.

   This is the one page that gets to be theatrical: it is the only named agent
   and the artwork is a mythic-futurist render set. The restraint that holds it
   to the rest of the site is structural rather than tonal — same kickers, same
   section rhythm, same accent cuts (--brass-ink on light, --brass-soft on
   dark), same labelled generated media. */

.pr-hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  padding-bottom: clamp(56px, 7vw, 88px);
}

/* The furnace render is warm orange over white marble, so the hero text needs
   a real scrim rather than a light tint to stay legible over it. */
.pr-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pr-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The source poster had the title block, an inputs panel and three caption
     strips baked in, so it was cropped to the furnace column — the one region
     of that render carrying no text. Positioned low so the wide-viewport crop
     lands on the ignition core and the emitter ring rather than the marble
     above them — the fire is the point on this page. */
  object-position: 50% 78%;
  opacity: 0.42;
}

.pr-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 34, 0.94) 0%, rgba(7, 16, 34, 0.82) 46%, rgba(7, 16, 34, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 16, 34, 0.9) 0%, transparent 55%);
}

.pr-hero .section-inner {
  position: relative;
  z-index: 1;
}

.pr-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
  max-width: 18ch;
}

/* :not(.eyebrow) because a bare `.pr-hero p` (0,1,1) outranks `.eyebrow`
   (0,1,0) and silently repainted the hero label from brass to body grey.
   Same trap as .managed-layout > div > p on /content-engine. */
.pr-hero p:not(.eyebrow) {
  color: var(--fog);
  max-width: 60ch;
}

.pr-hero .ai-badge {
  margin-bottom: 18px;
}

/* ---------- the myth strip ---------- */
.myth-line {
  margin: 0;
  padding: clamp(30px, 5vw, 52px) clamp(18px, 5vw, 48px);
  background: var(--ink);
  color: var(--paper-warm);
}

.myth-line blockquote {
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  max-width: 30ch;
}

.myth-line blockquote span {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

/* ---------- the keeper ---------- */
.keeper-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 40px;
}

.keeper-figure {
  margin: 0;
}

.keeper-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.keeper-frame img {
  width: 100%;
  height: auto;
}

.keeper-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.keeper-copy > p {
  color: var(--ink-soft);
  max-width: 60ch;
}

.keeper-copy > p:last-child {
  margin-bottom: 0;
}

/* ---------- what it actually does ---------- */
.does-list {
  margin: 40px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.does-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 4fr) minmax(0, 7fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}

.does-no {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brass-soft);
  padding-top: 4px;
}

.does-item h3 {
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.2;
  margin: 0;
}

.does-item p {
  margin: 0;
  color: var(--fog);
  max-width: 62ch;
}

/* ---------- the bridge ---------- */
.bridge-figure {
  margin: 40px 0 0;
}

.bridge-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Same treatment for the clip that replaced the still here. */
.bridge-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}

.bridge-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.bridge-figure figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 74ch;
}

.gates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: 36px;
}

.gate {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.gate p.gate-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 10px;
}

.gate h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin: 0 0 8px;
}

.gate p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- the honest part ---------- */
.plain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 40px;
}

.plain-grid h3 {
  font-family: var(--serif);
  font-size: 1.16rem;
  margin: 0 0 10px;
}

.plain-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-grid li {
  padding: 7px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--fog);
  font-size: 0.94rem;
}

.plain-grid li:first-of-type {
  border-top: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .keeper-layout {
    grid-template-columns: 1fr;
  }

  .gates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .does-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .does-item p {
    grid-column: 2;
  }
}
