:root {
  --bg: #121617;
  --panel: #181d1f;
  --panel-2: #20272a;
  --ink: #f1f4f5;
  --muted: #b6c0c4;
  --line: #384246;
  --blue: #123b78;
  --blue-2: #0d2f62;
  --accent: #d99a12;
  --teal: #3cb7b0;
  --paper: #ffffff;
  --paper-ink: #1a252b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration: none;
}

.utility-bar,
.masthead-inner,
.menu-inner,
.page,
.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.utility {
  border-bottom: 1px solid #2a3033;
  background: #111415;
}

.utility-bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #d7dcde;
  font-size: 14px;
}

.publisher-mark {
  font-weight: 800;
  letter-spacing: .02em;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.masthead {
  background: #161a1c;
}

.masthead-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.journal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: min(500px, 100%);
  padding: 12px 18px;
  background: var(--paper);
  color: var(--paper-ink);
}

.journal-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
}

.issn-card {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.menu-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--blue);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
}

.menu-inner {
  min-height: 54px;
  display: flex;
  align-items: stretch;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-link,
.drop-button {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.drop-button::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.menu-link:hover,
.drop-button:hover,
.menu-item:focus-within > .drop-button {
  background: var(--blue-2);
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  display: none;
  background: #171b1d;
  border: 1px solid #2d363a;
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 17px 22px;
  color: #e6ecef;
  border-bottom: 1px solid #30383c;
  font-size: 16px;
}

.submenu a:hover,
.submenu a:focus {
  background: #20272a;
  color: #fff;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  padding: 48px 0 70px;
}

.page > *,
.hero > *,
.grid > *,
.two-grid > *,
.compact-board > * {
  min-width: 0;
}

.page.full {
  grid-template-columns: 1fr;
}

.journal-home {
  padding-top: 38px;
}

.home-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 26px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid #2b3438;
}

.home-lead h1 {
  margin-top: 0;
}

.home-lead em {
  font-style: italic;
}

.home-cta {
  display: grid;
  gap: 10px;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-metrics div {
  min-height: 96px;
  padding: 16px 18px 16px 0;
  border-right: 1px solid #2b3438;
}

.home-metrics div:last-child {
  border-right: 0;
}

.home-metrics strong,
.status-list strong,
.issue-summary strong {
  display: block;
  color: #fff;
  font-weight: 900;
}

.home-metrics span,
.status-list span,
.issue-summary span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-section {
  margin-top: 36px;
}

.home-section > h2,
.section-heading-row h2 {
  margin-top: 0;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #2b3438;
}

.section-heading-row a {
  color: #ffb24d;
  font-weight: 800;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 18px;
  border-top: 1px solid #2b3438;
}

.topic-list a {
  display: block;
  padding: 13px 0;
  color: #dce6ea;
  border-bottom: 1px solid #2b3438;
}

.topic-list a:hover,
.topic-list a:focus {
  color: #fff;
}

.home-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
  padding: 20px 0;
  border-top: 1px solid #2b3438;
  border-bottom: 1px solid #2b3438;
}

.home-notice h3 {
  margin-top: 0;
}

.article-list {
  display: grid;
  gap: 0;
}

.article-row {
  padding: 20px 0;
  border-bottom: 1px solid #2b3438;
}

.article-row h3 {
  margin: 6px 0 7px;
  font-size: 20px;
}

.article-row p {
  margin-bottom: 0;
}

.issue-summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #2b3438;
}

.home-cover-issue {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #2b3438;
  border-bottom: 1px solid #2b3438;
}

.issue-cover,
.side-cover {
  display: block;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: #241f17;
}

.issue-cover img,
.side-cover img {
  width: 100%;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.issue-cover figcaption,
.side-cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.issue-detail {
  display: grid;
  gap: 12px;
}

.issue-detail strong {
  color: #fff;
}

.issue-detail p {
  margin-bottom: 0;
}

.issue-feature {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.issue-feature h2 {
  margin-top: 0;
}

.issue-feature .meta-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.issue-feature .meta-list li {
  color: #d7dee1;
}

.status-list {
  display: grid;
  gap: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 38px;
}

.hero img,
.feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

.eyebrow {
  color: #75d5ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 16px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 12px;
  font-size: 27px;
  line-height: 1.2;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 15px;
  color: #d4dcdf;
  font-size: 17px;
}

.lead {
  font-size: 19px;
  color: #e5ecef;
}

.content-section {
  margin-top: 30px;
}

.panel,
.side-box,
.article-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.panel {
  padding: 24px;
  margin: 20px 0;
}

.note {
  border-left: 5px solid var(--accent);
  background: #211f18;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card h3 {
  margin-top: 0;
}

.scope-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li,
.check-list li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
  color: #d7dee1;
}

.scope-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--teal);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #5277a7;
  background: #123b78;
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  border-color: #59676d;
}

.side-rail {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-box {
  padding: 20px;
}

.side-box h3 {
  margin-top: 0;
}

.side-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  color: #ffb24d;
  border-bottom: 1px solid #30383c;
  font-weight: 800;
}

.side-link:last-child {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 4px 9px;
  background: #243139;
  color: #d7eef6;
  font-size: 13px;
}

.board-section {
  margin-top: 28px;
}

.person-list {
  display: grid;
  gap: 12px;
}

.person {
  padding: 15px 18px;
}

.person strong {
  display: block;
  color: #fff;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.compact-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.board-lines {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.board-line {
  display: grid;
  grid-template-columns: 190px minmax(160px, .8fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #2b3438;
}

.board-line:last-child {
  border-bottom: 0;
}

.board-role {
  color: #75d5ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-line strong {
  color: #fff;
}

.board-line span:last-child {
  color: var(--muted);
}

.journal-points {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.journal-point {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #2b3438;
}

.journal-point strong {
  color: #fff;
}

.journal-point span {
  color: #d4dcdf;
}

.compact-links {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.compact-links a {
  padding: 12px 0;
  color: #ffb24d;
  font-weight: 800;
  border-bottom: 1px solid #2b3438;
}

.compact-links a:last-child {
  border-bottom: 0;
}

.guideline-map {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.guideline-map article {
  padding-bottom: 14px;
  border-bottom: 1px solid #2b3438;
}

.guideline-map article:last-child {
  border-bottom: 0;
}

.guideline-map h3 {
  margin: 0 0 6px;
  color: #fff;
}

.process-flow {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  counter-reset: process;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #2b3438;
  counter-increment: process;
}

.process-step:last-child {
  border-bottom: 0;
}

.process-step::before {
  content: counter(process);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #3275c7;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 4px;
  color: #fff;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  margin: 16px 0;
}

th,
td {
  padding: 13px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  background: #202b31;
  color: #fff;
}

td {
  color: #d7dee1;
}

.board-table {
  margin-top: 12px;
}

.board-table td {
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #2b3438;
  padding: 10px 12px 10px 0;
}

.board-table td:first-child {
  width: 190px;
  color: #75d5ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-table td:nth-child(2) {
  width: 260px;
  color: #fff;
}

.people-table td:first-child {
  width: 260px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: none;
}

.people-table td:nth-child(2) {
  width: auto;
  color: #d7dee1;
}

.board-table tr:last-child td {
  border-bottom: 0;
}

.article-card {
  padding: 18px;
  margin: 14px 0;
}

.issue-information {
  margin-top: 22px;
}

.issue-information h2 {
  margin: 6px 0 12px;
}

.issue-information p {
  max-width: 920px;
}

.issue-information p:last-child {
  margin-bottom: 0;
}

.article-card .type,
.issue-feature .type {
  color: #75d5ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid #2d363a;
  background: #0b0d0e;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 38px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer h3 {
  margin: 0 0 12px;
  color: #e8ecef;
  font-size: 14px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 6px 0;
}

@media (max-width: 880px) {
  body {
    overflow-x: hidden;
  }

  .utility-bar,
  .masthead-inner,
  .menu-inner {
    width: min(100% - 24px, 680px);
  }

  .utility-bar,
  .masthead-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .issn-card {
    text-align: left;
  }

  .menu-inner {
    display: block;
    padding: 6px 0;
  }

  .menu-item,
  .menu-link,
  .drop-button {
    width: 100%;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .page,
  .hero,
  .home-lead,
  .home-metrics,
  .home-notice,
  .issue-summary,
  .home-cover-issue,
  .issue-feature,
  .grid,
  .two-grid,
  .topic-list,
  .compact-board,
  .board-line,
  .journal-point,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .page {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 30px;
  }

  .page > *,
  .hero,
  .panel,
  .card,
  .side-box,
  .article-card,
  .content-section {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 36px;
  }

  p,
  .lead,
  li,
  td,
  th {
    overflow-wrap: anywhere;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .home-metrics div {
    min-height: auto;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid #2b3438;
  }

  .home-metrics div:last-child {
    border-bottom: 0;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
  }

  .panel,
  .card,
  .side-box,
  .article-card {
    padding: 18px;
  }

  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }

  .board-table,
  .board-table tbody,
  .board-table tr,
  .board-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .board-table td {
    padding: 3px 0;
    border-bottom: 0;
  }

  .board-table td:first-child,
  .board-table td:nth-child(2) {
    width: 100%;
  }

  .board-table tr {
    padding: 10px 0;
    border-bottom: 1px solid #2b3438;
  }

  .board-table tr:last-child {
    border-bottom: 0;
  }
}

/* Shared light journal theme */
:root {
  --bg: #f5f7f9;
  --panel: #ffffff;
  --panel-2: #edf2f5;
  --ink: #17252d;
  --muted: #5d6d75;
  --line: #d3dce1;
  --accent: #b96500;
  --teal: #147d78;
}

body,
.masthead {
  background: var(--bg);
  color: var(--ink);
}

.utility,
.footer {
  border-color: var(--line);
  background: #ffffff;
}

.utility-bar,
.footer h3,
.home-metrics strong,
.status-list strong,
.issue-summary strong,
.issue-detail strong,
.person strong,
.board-line strong,
.journal-point strong,
.guideline-map h3,
.process-step h3,
.people-table td:first-child,
.board-table td:nth-child(2) {
  color: var(--ink);
}

.submenu {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(23, 37, 45, .12);
}

.submenu a,
.topic-list a,
p,
.lead,
.scope-list li,
.check-list li,
.issue-feature .meta-list li,
.journal-point span,
td,
.people-table td:nth-child(2) {
  color: #40515a;
}

.submenu a,
.side-link,
.board-line,
.journal-point,
.compact-links a,
.guideline-map article,
.process-step,
.board-table td,
.board-table tr,
.home-lead,
.home-metrics,
.home-metrics div,
.section-heading-row,
.topic-list,
.topic-list a,
.home-notice,
.article-row,
.issue-summary,
.home-cover-issue {
  border-color: var(--line);
}

.submenu a:hover,
.submenu a:focus {
  background: #eef4f8;
  color: var(--blue);
}

.panel,
.side-box,
.article-card,
.card,
.issue-feature {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(23, 37, 45, .05);
}

.note {
  background: #fff8e8;
}

.issue-cover,
.side-cover {
  background: #f3f5f6;
}

.button.secondary {
  border-color: #7e8e96;
  color: var(--ink);
}

.badge {
  background: #e7f1f4;
  color: #24505e;
}

.eyebrow,
.board-role,
.board-table td:first-child,
.article-card .type,
.issue-feature .type {
  color: #1d6396;
}

.process-step::before {
  color: var(--blue);
}

th {
  background: #e7eef3;
  color: var(--ink);
}

.footer-inner {
  color: var(--muted);
}
