/* ==========================================================================
   Mill Creek — marketing-register design system.
   Editorial broadsheet. Light paper, serious serif display, quiet sans body.
   Single oxblood accent used like a wax seal, not a highlighter.

   The Olympus control-plane aesthetic lives in /platform.css and is loaded
   by the platform page — a deliberate genre shift, not an inconsistency.
   ========================================================================== */

:root {
  /* ----- Type ----- */
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia,
                  "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Helvetica, Arial, sans-serif;

  /* ----- Surfaces (warm paper palette) ----- */
  --paper:        #F7F3E8;   /* primary background — warm cream */
  --paper-tint:   #EFE9D8;   /* softer panel tint, used sparingly */
  --paper-deep:   #E7DFC9;   /* tinted sections (not used on hero) */

  /* ----- Ink ----- */
  --ink:          #1A1A1F;   /* primary type */
  --ink-soft:     #3A3A42;   /* secondary type */
  --ink-quiet:    #6E6E76;   /* metadata, captions */
  --ink-faint:    #A0A0A8;   /* hairline-adjacent text */

  /* ----- Rules ----- */
  --rule:         #C9C0A8;   /* hairline */
  --rule-strong:  #8E8669;   /* heavier section rule */
  --rule-faint:   #DCD4BC;   /* dashed/separator */

  /* ----- Accent — single restrained color, oxblood ----- */
  --accent:       #6B1F2B;
  --accent-soft:  #8E3540;
  --accent-faint: rgba(107, 31, 43, 0.08);

  /* ----- Layout ----- */
  --shell-max:    1180px;
  --shell-pad:    clamp(1.25rem, 4vw, 3rem);
  --measure:     64ch;
  --measure-narrow: 44ch;
  --measure-deck: 56ch;

  /* ----- Motion ----- */
  --ease-out:     cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "kern", "liga";
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture — extremely faint, never dominant */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 250, 235, 0.4), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 0, 0, 0.025), transparent 70%);
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: var(--paper); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 200ms var(--ease-out);
}
.skip:focus { top: 1rem; }

/* ==========================================================================
   Shell
   ========================================================================== */

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--shell-pad) clamp(2rem, 5vw, 4rem);
}

/* ==========================================================================
   Masthead
   A newspaper masthead, not a SaaS app bar. Generous whitespace, hairline
   beneath, navigation in body type.
   ========================================================================== */

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }

.wordmark__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.wordmark__rule {
  display: inline-block;
  width: 1px;
  height: 1.05rem;
  background: var(--rule-strong);
}

.wordmark__sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.masthead__nav a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.masthead__nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.masthead__cta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.masthead__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

@media (max-width: 880px) {
  .masthead { grid-template-columns: 1fr auto; }
  .masthead__nav { grid-column: 1 / -1; justify-content: flex-start; gap: 1.25rem; }
}

/* ==========================================================================
   Eyebrow — small caps tracked-out label. Replaces the bracketed kicker.
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.eyebrow--small  { font-size: 0.68rem; }
.eyebrow--accent { color: var(--accent); }
.eyebrow__sep    { color: var(--rule-strong); }

/* ==========================================================================
   Hero — single column, broadsheet headline, hairline rule, deck.
   ========================================================================== */

.hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
  max-width: 56rem;
}

.hero__title {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__rule {
  margin: 2rem 0 1.75rem;
  border: 0;
  border-top: 1px solid var(--rule-strong);
  width: 4.5rem;
}

.hero__deck {
  margin: 0;
  max-width: var(--measure-deck);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}

/* ==========================================================================
   Section rule — full-width hairline between sections.
   ========================================================================== */

.section-rule {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

/* ==========================================================================
   Position — single column editorial paragraph(s). Wide measure prose.
   ========================================================================== */

.position { max-width: 56rem; }

.position__title {
  margin: 0.75rem 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.prose {
  max-width: var(--measure);
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose--brief { max-width: 60ch; }

/* Drop cap — reserved for the threat brief lede */
.dropcap {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.25rem;
  line-height: 0.85;
  margin: 0.35rem 0.65rem 0 0;
  color: var(--accent);
}

.prose__lede {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
}

/* ==========================================================================
   Triptych — three quiet positioning columns. No frames. Just space.
   ========================================================================== */

.triptych {
  display: grid;
  gap: 2.25rem 2.75rem;
}

.triptych__col {
  max-width: 24rem;
}
.triptych__col p { margin: 0; }

.triptych__title {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.triptych__copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .triptych { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Threat brief — numbered editorial list. Roman numerals in serif.
   ========================================================================== */

.brief { max-width: 64rem; }

.brief__title {
  margin: 0.75rem 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.brief__list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.brief__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}
.brief__item:last-child { border-bottom: 1px solid var(--rule); }

.brief__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.brief__head {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brief__copy {
  margin: 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   Section title (shared) — used by engagements, platform tease, leadership
   ========================================================================== */

.section__title {
  margin: 0.75rem 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 28ch;
}

.section__deck {
  margin: 0 0 2.25rem;
  max-width: var(--measure-deck);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.section__more {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Engagements — partner-directory pattern. Hairlines, large serif numerals,
   no card frames.
   ========================================================================== */

.engagements { max-width: 64rem; }

.engagement-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.engagement {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.engagement:last-child { border-bottom: 1px solid var(--rule); }

.engagement__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}

.engagement__kind {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.engagement__title {
  margin: 0.4rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.engagement__copy {
  margin: 0 0 1rem;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.engagement__meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-quiet);
  font-variant-numeric: oldstyle-nums;
}

@media (max-width: 560px) {
  .engagement { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
  .engagement__num { font-size: 1.85rem; }
}

/* Engagement accent variant — used on the contact page for the active
   incident path, and anywhere else we want a single row to carry urgency
   without changing the page rhythm. */
.engagement--accent {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

/* Accent-colored kind label (when the small caps eyebrow inside the
   engagement body should pull the same urgency color). */
.engagement__kind--accent {
  color: var(--accent);
}

/* Intake actions — row of inline contact links on the contact page. Sits
   below the engagement copy and reads as the call-to-action for that path. */
.intake-actions {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  font-size: 0.92rem;
}
.intake-actions__sep {
  color: var(--rule-strong);
}

/* ==========================================================================
   Platform tease — quiet editorial paragraph with a CTA into the platform.
   ========================================================================== */

.platform-tease { max-width: 56rem; }

/* ==========================================================================
   Leadership — partner directory with portrait placeholders.
   The portrait box is intentionally restrained — it works as a graphic
   monogram until real photography arrives, then becomes an <img>.
   ========================================================================== */

.bench {
  display: grid;
  gap: 2.5rem;
  margin-top: 1rem;
}

.partner { display: grid; gap: 1rem; }

.portrait {
  width: 7.5rem;
  height: 9.5rem;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
}

.partner__role {
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.partner__name {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.partner__bio {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .bench { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 1024px) {
  .bench { grid-template-columns: repeat(4, 1fr); column-gap: 2.25rem; }
}

/* ==========================================================================
   Standing order — editorial closing statement. Faint paper-tint background
   to set it apart, single accent rule above the title.
   ========================================================================== */

.standing {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper-tint);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}

.standing__title {
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.standing__copy {
  margin: 0;
  max-width: 58ch;
  font-size: 1.025rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.standing__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}

/* ==========================================================================
   Action / button styles — three quiet variants. Never glossy.
   ========================================================================== */

.action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background 160ms var(--ease-out),
              color 160ms var(--ease-out),
              border-color 160ms var(--ease-out);
}
.action:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.action--accent {
  background: var(--accent);
  border-color: var(--accent);
}
.action--accent:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.action--quiet {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.action--quiet:hover {
  background: transparent;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.action--text {
  background: transparent;
  color: var(--accent);
  border: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.15rem;
}
.action--text:hover {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==========================================================================
   Colophon (footer) — quiet, multi-column, hairline rule.
   ========================================================================== */

.colophon {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-strong);
  color: var(--ink-quiet);
  font-size: 0.85rem;
}

.colophon__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.colophon__brand {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.colophon__tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.colophon__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
}
.colophon__nav a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
.colophon__nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.colophon__rule {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.colophon__row--meta {
  font-size: 0.78rem;
  color: var(--ink-quiet);
  font-variant-numeric: oldstyle-nums;
}
.colophon__row--meta p { margin: 0; }

/* ==========================================================================
   Catalog nav — magazine-style table of contents on /services.
   Hairline rules between items, Roman numerals in oxblood.
   ========================================================================== */

.catalog-nav { max-width: 56rem; }

.catalog-nav__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.catalog-nav__list li {
  border-bottom: 1px solid var(--rule);
}

.catalog-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
  border-bottom: 0;
  transition: color 160ms var(--ease-out), padding-left 200ms var(--ease-out);
}
.catalog-nav__list a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.catalog-nav__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  width: 2.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Engagement major-section — full editorial section per offering.
   Rhythm: title -> editorial paragraph -> spec rail -> timeline -> fit panel.
   ========================================================================== */

.engagement-major { max-width: 64rem; }

.engagement-major__head {
  margin-bottom: 1.5rem;
}

.engagement-major__title {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.engagement-major__lede {
  max-width: 60ch;
  font-size: 1.075rem;
  line-height: 1.6;
}
.engagement-major__lede em {
  font-style: italic;
  color: var(--ink);
}

/* Accent variant — Respond engagement (incident response). A single
   oxblood rule on the left signals urgency without changing the surface. */
.engagement-major--accent {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}
@media (max-width: 640px) {
  .engagement-major--accent { padding-left: 0.85rem; }
}

/* ==========================================================================
   Spec rail — definition list. Two-column on desktop, stacked on mobile.
   Hairlines between rows. Looks like a financial disclosure or contract
   summary, not a pricing table.
   ========================================================================== */

.spec {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.spec__row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.spec__term {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  align-self: start;
  padding-top: 0.15rem;
}

.spec__def {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

@media (max-width: 640px) {
  .spec__row { grid-template-columns: 1fr; gap: 0.4rem; padding: 0.85rem 0; }
}

/* ==========================================================================
   Timeline rail — week-one (or hour-one) breakdown.
   Reads as a procedural sub-section beneath the spec rail.
   ========================================================================== */

.timeline {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule-faint);
}

.timeline__head {
  margin: 0 0 1rem;
  display: block;
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline__row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 1rem;
  line-height: 1.55;
}
.timeline__row:last-child { border-bottom: 0; }

.timeline__when {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-variant-numeric: oldstyle-nums;
}

.timeline__what {
  color: var(--ink-soft);
  max-width: 56ch;
}

@media (max-width: 640px) {
  .timeline__row { grid-template-columns: 1fr; gap: 0.25rem; padding: 0.65rem 0; }
}

/* ==========================================================================
   Fit panel — yes/no qualifying block. Two columns, hairline between.
   Used inside an engagement section.
   ========================================================================== */

.fit {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule-faint);
  display: grid;
  gap: 2rem;
}

.fit__col p { margin: 0.5rem 0 0; }

.fit__copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 50ch;
}

@media (min-width: 720px) {
  .fit { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .fit__col + .fit__col { padding-left: 3rem; border-left: 1px solid var(--rule); }
}

/* Section rule variants — denser between same-shape sections (engagement
   to engagement) than between different sections. */
.section-rule--dense {
  margin: clamp(2rem, 4.5vw, 3.5rem) 0;
}

/* ==========================================================================
   Case studies — anonymized narrative cards. Follows the editorial register
   but framed enough to read as exhibits, not body copy.
   ========================================================================== */

.cases { max-width: 64rem; }

.case-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.case {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.case:last-child { border-bottom: 1px solid var(--rule); }

.case__sector {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.case__title {
  margin: 0.25rem 0 1rem;
  max-width: 36ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.case__copy {
  margin: 0 0 0.75rem;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.case__copy:last-child { margin-bottom: 0; }

.case__beat {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-right: 0.4rem;
}

/* ==========================================================================
   Selection criteria — page-wide yes/no panel. Hairline between columns.
   The "we say no to" list is itself a trust signal.
   ========================================================================== */

.selection { max-width: 64rem; }

.selection__grid {
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.selection__head {
  margin: 0 0 1rem;
}

.selection__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.selection__list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--rule);
}
.selection__list li:last-child { border-bottom: 0; }

.selection__col--yes .selection__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--accent);
}

.selection__col--no .selection__list li::before {
  content: "\2014";  /* em dash */
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink-quiet);
}

@media (min-width: 760px) {
  .selection__grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .selection__col--no { padding-left: 3rem; border-left: 1px solid var(--rule); }
}

/* ==========================================================================
   OLYMPUS — flagship spotlight. Used on the homepage and as the lead
   section on /services. Tinted paper sets it apart from the rest of the
   page; internal hierarchy carries the visual weight a card grid used to.
   ========================================================================== */

.olympus {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3vw, 3rem);
  background: var(--paper-tint);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  max-width: none;
}

.olympus__title {
  margin: 1rem 0 1.25rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.olympus__deck {
  margin: 0;
  max-width: 60ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* The moat sentence. Pulled blockquote — the largest editorial moment
   on the page after the hero. Oxblood rule on the left, two lines that
   read like a manifesto. */
.olympus__moat {
  margin: 2.5rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--accent);
  max-width: 50ch;
}
.olympus__moat p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.olympus__moat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent);
}

/* Sprite list — three cards. Hairlines between, no heavy frames. */
.sprites {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.sprite {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 0.6rem;
  max-width: 64ch;
}

.sprite__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.sprite__name {
  margin: 0.25rem 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.sprite__copy {
  margin: 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .sprites {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .sprite {
    padding: 1.75rem 1.5rem;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .sprite:first-child { padding-left: 0; }
  .sprite:last-child  { padding-right: 0; border-right: 0; }
}

/* Engineering-leader aside — speaks past the board to the VP Eng who will
   actually authorize the workflow. Quiet bordered box, monospace-adjacent
   feel without using a monospace font. */
.olympus__engineering {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--paper);
  border-left: 2px solid var(--ink);
  max-width: 64ch;
}
.olympus__engineering-copy {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Footer link row inside the Olympus spotlight */
.olympus__more {
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: baseline;
}
.olympus__more-sep {
  color: var(--rule-strong);
  font-size: 0.95rem;
}

/* Variant on /services — even more editorial, full spec rail underneath */
.olympus--catalog .spec--olympus {
  margin-top: 2.5rem;
}
.olympus--catalog .fit--olympus {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

/* ==========================================================================
   Catalog nav — flagship row variant for /services.
   The Olympus row is visually heavier than the orbital list items, with a
   subtitle, an oxblood star, and a deeper hover state.
   ========================================================================== */

.catalog-nav__flagship {
  display: grid !important;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.25rem 0 !important;
  background: var(--paper-tint);
  margin: 0 -0.75rem;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  border-left: 2px solid var(--accent);
}

.catalog-nav__flagship .catalog-nav__num {
  color: var(--accent);
  font-size: 1.4rem;
  width: 2rem;
}

.catalog-nav__lead {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.catalog-nav__sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.catalog-nav__group-label {
  padding: 1rem 0 0.5rem !important;
  border-bottom: 0 !important;
}
.catalog-nav__group-label p { margin: 0; }

/* ==========================================================================
   Orbital list — homepage-only compact engagement teaser. Five items,
   each a single line with a Roman numeral, kind label, title, one-liner.
   Looks like a dense magazine table of contents.
   ========================================================================== */

.orbital { max-width: 64rem; }

.orbital-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.orbital-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.orbital__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-top: 0.2rem;
}

.orbital__kind {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.orbital__title {
  margin: 0.3rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.orbital__copy {
  margin: 0;
  max-width: 60ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 540px) {
  .orbital-item { grid-template-columns: 1fr; gap: 0.25rem; padding: 1rem 0; }
}

/* ==========================================================================
   Orbital tier header — used on /services to label "Tier I: Entry-point
   engagements" and "Tier II: Standing services" before the engagement
   articles in each tier.
   ========================================================================== */

.orbital-tier {
  max-width: 64rem;
  padding: 1rem 0 0;
}

/* ==========================================================================
   Print niceties — leadership pages may be read printed in board packets.
   ========================================================================== */

/* ==========================================================================
   TEAM PAGE PATTERNS
   Principal-partner profile (large biographical), advisor grid with
   monograms, affiliate compact list, hiring-brief panel.
   ========================================================================== */

/* Principal — large two-column profile (portrait + body). Stacks on mobile. */
.principal {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.principal:last-child { border-bottom: 0; padding-bottom: 1rem; }

.principal__portrait {
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.25rem;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
}

.principal__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.principal__name {
  margin: 0.45rem 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.principal__bio {
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.principal__bio p { margin: 0 0 1rem; }
.principal__bio p:last-child { margin-bottom: 0; }

.principal__pull {
  margin: 1.5rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--accent);
  max-width: 50ch;
}
.principal__pull p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: balance;
}

.principal__links {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
}
.principal__links a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}
.principal__links a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (min-width: 760px) {
  .principal {
    grid-template-columns: 14rem 1fr;
    column-gap: 3rem;
    align-items: start;
  }
}

/* Bench team variant — slightly larger than the homepage variant.
   Reuses .partner / .portrait from the homepage Leadership section. */
.bench--team {
  margin-top: 1.5rem;
}
.bench--team .portrait {
  width: 8.5rem;
  height: 10.5rem;
}
.bench--team .partner__name {
  font-size: 1.45rem;
}

/* Advisor — like bench but with a monogram square instead of a portrait. */
.advisor-grid {
  display: grid;
  gap: 2.5rem;
  margin: 1.5rem 0 0;
}
.advisor {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.advisor__monogram {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.4rem;
  background: var(--paper-tint);
  border: 1px solid var(--rule-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.advisor__sector {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.advisor__name {
  margin: 0.3rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.advisor__bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .advisor-grid { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 1024px) {
  .advisor-grid { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
}

/* Specialist affiliates — compact list with a domain label on the left. */
.affiliates {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.affiliate {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.affiliate__domain {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: start;
  padding-top: 0.15rem;
}
.affiliate__body {
  display: grid;
  gap: 0.4rem;
}
.affiliate__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.affiliate__bio {
  margin: 0;
  max-width: 60ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 540px) {
  .affiliate { grid-template-columns: 1fr; gap: 0.3rem; padding: 1rem 0; }
}

/* Hiring brief — paper-tinted panel per role. Two columns on desktop. */
.hiring {
  margin-top: 1.5rem;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.hiring-role {
  background: var(--paper-tint);
  padding: 1.5rem 1.75rem;
}
.hiring-role__seat {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.hiring-role__title {
  margin: 0.45rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hiring-role__copy {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hiring-role__copy:last-child { margin-bottom: 0; }
.hiring-role__meta {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-quiet);
  font-style: italic;
}
@media (min-width: 760px) {
  .hiring { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   INSIGHTS — publication index. Magazine-section-front pattern with
   featured entry on top and a hairline-separated list below.
   ========================================================================== */

.insight-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.insight-entry {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.insight-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.insight-entry__category { color: var(--accent); }
.insight-entry__sep      { color: var(--rule-strong); }
.insight-entry__date     { color: var(--ink-quiet); }

.insight-entry__title {
  margin: 0 0 0.85rem;
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.insight-entry__title a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.insight-entry__title a:hover { color: var(--accent); }

.insight-entry__dek {
  margin: 0 0 1rem;
  max-width: 60ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.insight-entry__byline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-quiet);
}
.insight-entry__byline-name {
  color: var(--ink-soft);
  font-weight: 500;
}

/* Featured — bigger treatment for the lead piece */
.insight-featured {
  margin: 1.5rem 0 0;
  padding-bottom: 1.5rem;
}

.insight-featured__title {
  margin: 0.85rem 0 1.25rem;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.insight-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.insight-featured__title a:hover { color: var(--accent); }

.insight-featured__dek {
  margin: 0 0 1.25rem;
  max-width: 56ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ==========================================================================
   ARTICLE — individual long-form piece. Narrow measure, drop cap, Roman
   numeral counter on h2, pull quote, author footer, related list.
   ========================================================================== */

.article {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.article__back {
  margin: 0 0 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.article__back a {
  color: var(--ink-quiet);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.article__back a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.article__head {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.article__title {
  margin: 1rem 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.article__dek {
  margin: 0 0 1.5rem;
  max-width: 56ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.article__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-quiet);
}
.article__byline-author {
  color: var(--ink);
  font-weight: 500;
}

/* Article body — counter for Roman-numeral subsection numbers */
.article__body {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink-soft);
  counter-reset: article-section;
}

.article__body p {
  margin: 0 0 1.25rem;
}
.article__body p strong { color: var(--ink); font-weight: 600; }
.article__body p em     { color: var(--ink); font-style: italic; }

/* Drop cap on the first paragraph after the head */
.article__body > p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 4.25rem;
  line-height: 0.85;
  margin: 0.4rem 0.65rem 0 0;
  color: var(--accent);
}

.article__body h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  counter-increment: article-section;
}
.article__body h2::before {
  content: counter(article-section, upper-roman) ".  ";
  color: var(--accent);
  font-weight: 500;
}

/* Pull quote inside an article */
.article__pull {
  margin: 2.25rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--accent);
  max-width: 42ch;
}
.article__pull p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}

/* Article footer — author bio + related list */
.article__footer {
  margin: 3rem 0 0;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 2rem;
}

.article__author p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.article__author-name {
  color: var(--ink);
  font-weight: 500;
}
.article__author a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.05rem;
}
.article__author a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.article__related-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.article__related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.article__related-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.4;
}
.article__related-item a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.article__related-item a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.article__related-cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ==========================================================================
   ARTIFACTS
   Dark, self-contained "screenshot of Olympus" panels that live inside the
   editorial register — used on the /platform page (and anywhere we want to
   show what the operator surface actually looks like).

   The artifact establishes its own visual world: dark background, mono
   typography, Olympus palette. Editorial figcaptions render below in the
   page's normal voice. Same pattern Stripe and Vercel use to embed dark
   product surfaces inside their light-mode marketing pages.
   ========================================================================== */

.artifact {
  position: relative;
  margin: 2rem 0;
  background: #0b0d10;
  border: 1px solid #2a2d31;
  font-family: "IBM Plex Mono", ui-monospace, "Menlo", monospace;
  font-size: 13px;
  color: #e6e8eb;
  line-height: 1.55;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

/* Subtle grid texture inside the artifact, the way the live Olympus
   surface has a faint backdrop. Kept very low contrast so it does not
   pull focus from the content. */
.artifact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 232, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 232, 235, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
.artifact > * { position: relative; z-index: 1; }

/* Chrome bar — looks like a window or app frame title. Reinforces
   "this is a screenshot of something else" without being literal. */
.artifact__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.95rem;
  border-bottom: 1px solid #2a2d31;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 232, 235, 0.7);
}

.artifact__chrome-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.artifact__chrome-bracket { color: #4f8bff; }

.artifact__chrome-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #22c55e;
  font-variant-numeric: tabular-nums;
}
.artifact__chrome-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: artifact-pulse 2s ease-in-out infinite;
}
@keyframes artifact-pulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}

.artifact__body {
  padding: 1.25rem;
}

.artifact__caption {
  display: block;
  margin: 0.85rem 0 0;
  padding-left: 0.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-quiet);
  font-style: italic;
}
.artifact__caption strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
}

/* === Internals: metric strip === */
.artifact-metrics {
  display: grid;
  gap: 1px;
  background: #2a2d31;
  border: 1px solid #2a2d31;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .artifact-metrics--2 { grid-template-columns: repeat(2, 1fr); }
  .artifact-metrics--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .artifact-metrics--4 { grid-template-columns: repeat(4, 1fr); }
}

.artifact-metric {
  background: #0b0d10;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}
.artifact-metric__rule {
  display: block;
  width: 2rem;
  height: 0.125rem;
  background: currentColor;
}
.artifact-metric__label {
  margin: 0.45rem 0 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 232, 235, 0.6);
}
.artifact-metric__value {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.artifact-metric__note {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(230, 232, 235, 0.6);
}

/* Tones drive the metric rule color and the value color */
.artifact-tone--info     { color: #06b6d4; }
.artifact-tone--info     .artifact-metric__value { color: #06b6d4; }
.artifact-tone--accent   { color: #4f8bff; }
.artifact-tone--accent   .artifact-metric__value { color: #4f8bff; }
.artifact-tone--success  { color: #22c55e; }
.artifact-tone--success  .artifact-metric__value { color: #22c55e; }
.artifact-tone--warning  { color: #f59e0b; }
.artifact-tone--warning  .artifact-metric__value { color: #f59e0b; }
.artifact-tone--danger   { color: #ef4444; }
.artifact-tone--danger   .artifact-metric__value { color: #ef4444; }

/* === Stamps row inside an artifact === */
.artifact-stamps {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.artifact-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(230, 232, 235, 0.28);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(230, 232, 235, 0.7);
  background: rgba(8, 9, 10, 0.6);
}
.artifact-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.artifact-stamp--success { color: #22c55e; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.12); }
.artifact-stamp--warning { color: #f59e0b; border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.12); }
.artifact-stamp--danger  { color: #ef4444; border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.12); }

/* === Trace list (tool-call log) inside an artifact === */
.artifact-trace {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px dashed rgba(230, 232, 235, 0.14);
}
.artifact-trace__row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(230, 232, 235, 0.14);
  font-size: 0.78rem;
}
.artifact-trace__row:last-child { border-bottom: 0; }
.artifact-trace__code {
  font-weight: 600;
  white-space: nowrap;
}
.artifact-trace__row--info    .artifact-trace__code { color: #06b6d4; }
.artifact-trace__row--accent  .artifact-trace__code { color: #4f8bff; }
.artifact-trace__row--success .artifact-trace__code { color: #22c55e; }
.artifact-trace__copy { color: rgba(230, 232, 235, 0.78); }
@media (max-width: 540px) {
  .artifact-trace__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* === Pre-formatted code (terminal trace, JSON, diff) inside an artifact === */
.artifact-code {
  margin: 0;
  padding: 0;
  white-space: pre;
  overflow-x: auto;
  color: #f5f7f8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.65;
}
.artifact-code .ev-add  { color: #22c55e; }
.artifact-code .ev-rem  { color: #ef4444; }
.artifact-code .ev-key  { color: #4f8bff; }
.artifact-code .ev-str  { color: #22c55e; }
.artifact-code .ev-com  { color: rgba(230, 232, 235, 0.55); font-style: italic; }
.artifact-code .ev-warn { color: #f59e0b; }
.artifact-code .ev-ok   { color: #22c55e; }

/* === Topology SVG inside an artifact === */
.artifact-topology {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* === Spec definition list inside an artifact === */
.artifact-spec {
  display: grid;
  gap: 0;
  margin: 0;
}
.artifact-spec__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(230, 232, 235, 0.14);
  font-size: 0.78rem;
}
.artifact-spec__row:last-child { border-bottom: 0; }
.artifact-spec__row dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 232, 235, 0.6);
}
.artifact-spec__row dd { margin: 0; color: #e6e8eb; }
@media (max-width: 540px) {
  .artifact-spec__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* === Wide artifact: lets a single artifact span beyond the prose measure
   for full-width topology or dashboard visuals on the platform page. === */
.artifact--wide {
  margin-left: 0;
  margin-right: 0;
}

/* ==========================================================================
   Print niceties — leadership pages may be read printed in board packets.
   ========================================================================== */

@media print {
  body { background: white; }
  .masthead__cta, .action, .skip { display: none !important; }
  .section-rule { border-top: 1px solid #999; }
  .artifact { break-inside: avoid; }
}
