@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root { --font-sans: 'IBM Plex Sans'; --font-mono: 'IBM Plex Mono'; }

/* ====================================================================
   Cobalt Shelf - operations review desk
   Deep navy + steel monochrome + a single steel-cyan accent.
   IBM Plex Sans (UI/body) + IBM Plex Mono (data labels, table headers).
   Dense, ruled, dashboard styling. No rounded magazine cards.
   ==================================================================== */

:root {
  --navy: #1c2a44;
  --navy-2: #2f4368;
  --navy-ink: #16223a;
  --steel: #5b6675;
  --steel-soft: #8a93a1;
  --accent: #4aa3b8;
  --accent-deep: #357c8f;
  --paper: #f4f6f9;
  --panel: #ffffff;
  --panel-2: #eef1f6;
  --line: #d4dae3;
  --line-strong: #b7c0cd;
  --ok: #3f7d6b;
  --shadow: 0 1px 0 rgba(28, 42, 68, 0.04), 0 12px 30px -22px rgba(28, 42, 68, 0.45);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans), system-ui, sans-serif;
  color: var(--navy-ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.012em;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 50;
  font-family: var(--font-mono), monospace;
  font-size: 0.8rem;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Ops header ---------- */
.ops-header {
  border-bottom: 1px solid var(--line-strong);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 30;
}

.ops-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--navy-2);
}
.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.wordmark-text strong {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wordmark-text small {
  font-family: var(--font-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 2px;
}

.ops-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 163, 184, 0.18);
}

.ops-nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.ops-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--steel);
  border-bottom: 2px solid transparent;
}
.ops-nav a svg {
  color: var(--steel-soft);
}
.ops-nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--accent);
}
.ops-nav a:hover svg {
  color: var(--accent);
}

/* ---------- Lead ---------- */
.lead {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}

.lead h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
}

.lead-lede {
  margin: 18px 0 0;
  color: #33405a;
  font-size: 1.05rem;
  max-width: 36ch;
}

.lead-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lead-meta span {
  font-family: var(--font-mono), monospace;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 11px;
  background: var(--panel);
}
.lead-meta b {
  color: var(--navy);
  font-weight: 600;
}

.lead-visual {
  height: clamp(220px, 30vw, 340px);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(28, 42, 68, 0.12), rgba(28, 42, 68, 0.42)),
    url("/images/cobaltshelf-lead.jpg") center / cover no-repeat,
    linear-gradient(140deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-ink) 100%);
  box-shadow: var(--shadow);
}

/* ---------- Band heading ---------- */
.band-heading {
  margin-bottom: 22px;
}
.band-heading h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}
.band-heading p {
  margin: 7px 0 0;
  color: var(--steel);
  font-size: 0.96rem;
}

/* ---------- Workflow shelves ---------- */
.shelves {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.shelf-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shelf {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.shelf-spine {
  padding: 20px 22px;
  background: var(--navy);
  color: #dfe6f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.shelf-spine::after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--accent);
}
.shelf-code {
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.shelf-spine h3 {
  color: #fff;
  font-size: 1.18rem;
}
.shelf-title {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #c4cee0;
}
.shelf-note {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #93a1bd;
}
.shelf-count {
  margin-top: auto;
  font-family: var(--font-mono), monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}
.shelf-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.option-card {
  padding: 18px 18px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-card:first-child {
  border-left: none;
}
.option-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}
.option-fit {
  font-size: 0.86rem;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fit-key {
  font-family: var(--font-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* ---------- Decision matrix ---------- */
.matrix-block {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}
.matrix-table thead th {
  background: var(--navy);
  color: #e6ecf5;
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
}
.matrix-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  background: var(--panel-2);
}
.matrix-table tbody th,
.matrix-table tbody td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.matrix-table tbody td {
  color: #36425b;
}
.matrix-table tbody tr:hover td,
.matrix-table tbody tr:hover th {
  background: rgba(74, 163, 184, 0.07);
}

/* ---------- Recent reviews ---------- */
.recent {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.recent-rows {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.recent-row {
  display: grid;
  grid-template-columns: 130px 1fr 120px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}
.recent-row:first-child {
  border-top: none;
}
.recent-row:hover {
  background: var(--panel-2);
}
.recent-tag {
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 8px;
  justify-self: start;
}
.recent-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recent-main strong {
  font-size: 1.04rem;
  color: var(--navy);
}
.recent-main span {
  font-size: 0.88rem;
  color: var(--steel);
}
.recent-date {
  font-family: var(--font-mono), monospace;
  font-size: 0.76rem;
  color: var(--steel);
  text-align: right;
}

/* ---------- About ---------- */
.about {
  padding: 52px 0 60px;
}
.about h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 18px;
}
.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.principle-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #36425b;
  font-size: 0.96rem;
}
.principle-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c4cee0;
  padding: 40px 24px;
}
.footer-mark {
  max-width: 1072px;
  margin: 0 auto 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.footer-desc,
.footer-disclosure {
  max-width: 1072px;
  margin: 0 auto;
  font-size: 0.9rem;
}
.footer-desc {
  color: #aab6cd;
}
.footer-disclosure {
  margin-top: 8px;
  font-family: var(--font-mono), monospace;
  font-size: 0.74rem;
  color: #7d8bab;
}

/* ====================================================================
   Article (single column, ops brief)
   ==================================================================== */
.article-shell {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 64px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono), monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 22px;
}
.breadcrumb a {
  color: var(--steel);
}
.breadcrumb a:hover {
  color: var(--accent-deep);
}

.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 26px;
}
.article-chip {
  display: inline-block;
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 9px;
  margin-bottom: 16px;
}
.article-head h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  font-weight: 700;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 20px 0 0;
}
.article-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.article-meta dt {
  font-family: var(--font-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-soft);
}
.article-meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.brief-box {
  background: var(--navy);
  color: #d8e0ee;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 20px 22px;
  margin-bottom: 30px;
}
.brief-kicker {
  display: block;
  font-family: var(--font-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.brief-box p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #e3e9f3;
}

/* ---------- Injected article content ---------- */
.article-content {
  font-size: 1.05rem;
  color: #28324a;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content h2 {
  font-size: 1.4rem;
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.article-content h3 {
  font-size: 1.12rem;
  margin: 28px 0 10px;
}
.article-content p {
  margin: 0 0 16px;
}
.article-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(53, 124, 143, 0.4);
}
.article-content a:hover {
  text-decoration-color: var(--accent-deep);
}
.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.article-content ul li,
.article-content ol li {
  position: relative;
  padding: 6px 0 6px 26px;
  border-bottom: 1px dashed var(--line);
}
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 9px;
  height: 2px;
  background: var(--accent);
}
.article-content ol {
  counter-reset: ops;
}
.article-content ol li::before {
  counter-increment: ops;
  content: counter(ops);
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  color: var(--accent-deep);
}
.article-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  background: var(--panel-2);
  border-left: 3px solid var(--navy-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  color: var(--navy);
  font-style: normal;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}
.article-content thead th {
  background: var(--navy);
  color: #e6ecf5;
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  padding: 11px 14px;
  font-weight: 500;
}
.article-content tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  color: #36425b;
}
.article-content tbody tr:nth-child(even) td {
  background: var(--panel-2);
}

/* ---------- FAQ ---------- */
.faq-section {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.faq-section h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.faq-section details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq-section summary {
  cursor: pointer;
  padding: 13px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary::after {
  content: "+";
  font-family: var(--font-mono), monospace;
  color: var(--accent-deep);
  font-size: 1.1rem;
}
.faq-section details[open] summary::after {
  content: "\2212";
}
.faq-section details p {
  margin: 0 0 14px;
  color: #36425b;
}

/* ---------- Source note ---------- */
.source-note {
  margin-top: 36px;
  padding: 22px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.source-note h2 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.source-note p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.article-foot {
  margin-top: 34px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono), monospace;
  font-size: 0.82rem;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
}
.back-link:hover {
  border-color: var(--accent);
  background: var(--panel);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shelf {
    grid-template-columns: 1fr;
  }
  .shelf-spine::after {
    display: none;
  }
  .shelf-options {
    grid-template-columns: 1fr;
  }
  .option-card {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .recent-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .recent-date {
    text-align: left;
  }
}
