/* =====================================================================
   OXTON SCIENCE JOURNAL — elevated public design system (osj-*)
   Loaded AFTER app.css on public pages only (portal + journal layouts).
   Palette: #0030da (brand) · #f59e0b (accent). Dashboard is untouched.
   ===================================================================== */
:root {
  --osj-brand:        #0030da;
  --osj-brand-700:    #0026ad;   /* hover / darker */
  --osj-brand-900:    #001a52;   /* deep navy for headers/footer */
  --osj-brand-050:    #eef1ff;   /* tint bg */
  --osj-brand-100:    #dbe2ff;
  --osj-amber:        #f59e0b;
  --osj-amber-700:    #b9770a;
  --osj-amber-050:    #fff6e6;
  --osj-ink:          #0f172a;
  --osj-ink-2:        #334155;
  --osj-muted:        #64748b;
  --osj-line:         #e3e8f0;
  --osj-line-2:       #cfd8e6;
  --osj-bg:           #f6f8fc;
  --osj-white:        #ffffff;
  --osj-serif:        'Lora', Georgia, 'Times New Roman', serif;
  --osj-sans:         'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --osj-radius:       12px;
  --osj-radius-lg:    16px;
  --osj-shadow:       0 8px 30px rgba(2, 12, 40, .08);
  --osj-shadow-sm:    0 2px 10px rgba(2, 12, 40, .05);
  /* Re-theme legacy portal components that still key off --j-color */
  --j-color:  #0030da;
  --j-accent: #f59e0b;
}

/* Public body reads calmer & larger than the dashboard */
body { color: var(--osj-ink); background: var(--osj-white); }
.osj-serif { font-family: var(--osj-serif); }

/* Site-wide content width: header, main and footer all cap at 1250px */
.container, .container-narrow { max-width: 1250px; }

/* ---------- Buttons ---------- */
.osj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  font-family: var(--osj-sans); border: 1px solid transparent; cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
  text-decoration: none !important; line-height: 1.2; white-space: nowrap;
}
.osj-btn--primary { background: var(--osj-brand); color: #fff; }
.osj-btn--primary:hover { background: var(--osj-brand-700); }
.osj-btn--amber { background: var(--osj-amber); color: #3a2a05; }
.osj-btn--amber:hover { background: var(--osj-amber-700); color: #fff; }
.osj-btn--outline { background: #fff; color: var(--osj-brand); border-color: var(--osj-line-2); }
.osj-btn--outline:hover { border-color: var(--osj-brand); }
.osj-btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.osj-btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.osj-btn--sm { padding: 8px 15px; font-size: .82rem; }
.osj-btn--lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- Badges / tags ---------- */
.osj-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.osj-badge--oa   { background: var(--osj-amber-050); color: var(--osj-amber-700); }
.osj-badge--peer { background: var(--osj-brand-050); color: var(--osj-brand); }
.osj-badge--type { background: #eef2f7; color: var(--osj-ink-2); }
.osj-badge--doi  { background: #eef2f7; color: var(--osj-ink-2); font-family: ui-monospace, monospace; text-transform: none; letter-spacing: 0; }

/* =====================================================================
   SHELL — unified masthead + nav + footer
   ===================================================================== */
.osj-utility { background: var(--osj-brand-900); color: #c3cef2; font-size: .78rem; }
.osj-utility .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.osj-utility a { color: #cdd7f5; }
.osj-utility a:hover { color: #fff; text-decoration: none; }
.osj-utility__tag { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.osj-utility__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.osj-utility__links .is-strong { font-weight: 600; color: #fff; }

.osj-masthead { background: #fff; border-bottom: 1px solid var(--osj-line); }
.osj-masthead .container { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.osj-brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.osj-brand svg.brand-logo { width: 42px; height: 42px; flex-shrink: 0; color: var(--osj-brand); }
.osj-footer__brand svg.brand-logo { width: 34px; height: 34px; color: #fff; }
.osj-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.osj-brand__name { font-family: var(--osj-serif); font-weight: 700; font-size: 1.5rem; color: var(--osj-brand-900); letter-spacing: -.01em; }
.osj-brand__meta { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--osj-muted); font-weight: 600; margin-top: 2px; }
.osj-brand__meta b { color: var(--osj-brand); font-weight: 700; }

.osj-masthead__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.osj-search { position: relative; display: flex; align-items: center; }
.osj-search input { width: 260px; max-width: 40vw; padding: 10px 14px 10px 38px; border: 1px solid var(--osj-line-2);
  border-radius: 10px; font: inherit; font-size: .86rem; background: var(--osj-bg); color: var(--osj-ink); }
.osj-search input:focus { outline: none; border-color: var(--osj-brand); background: #fff; }
.osj-search button { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--osj-muted); display: inline-flex; padding: 0; cursor: pointer; }

.osj-nav { background: var(--osj-brand); }
.osj-nav .container { display: flex; align-items: center; }
.osj-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.osj-nav ul::-webkit-scrollbar { display: none; }
.osj-nav a { display: block; padding: 13px 15px; color: #dfe6ff; font-size: .86rem; font-weight: 500; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.osj-nav a:hover, .osj-nav a.is-active { color: #fff; background: rgba(255,255,255,.08); border-bottom-color: var(--osj-amber); text-decoration: none; }
.osj-nav__toggle { display: none; }

/* Footer */
.osj-footer { background: var(--osj-brand-900); color: #aab6dc; margin-top: 0; }
.osj-footer .container { padding-top: 52px; padding-bottom: 34px; }
.osj-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 36px; }
.osj-footer h4 { color: #fff; font-family: var(--osj-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 15px; }
.osj-footer ul { list-style: none; margin: 0; padding: 0; }
.osj-footer li { margin-bottom: 9px; }
.osj-footer a { color: #aab6dc; font-size: .88rem; }
.osj-footer a:hover { color: #fff; text-decoration: none; }
.osj-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.osj-footer__brand strong { font-family: var(--osj-serif); font-size: 1.25rem; color: #fff; }
.osj-footer__brand small { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #7f8dbb; margin-top: 2px; }
.osj-footer__about { font-size: .88rem; max-width: 320px; line-height: 1.6; margin-bottom: 14px; }
.osj-footer__issn { font-size: .76rem; color: #7f8dbb; }
.osj-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; }
.osj-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 24px; font-size: .8rem; color: #7f8dbb; }

/* =====================================================================
   GENERIC LAYOUT UTILITIES
   ===================================================================== */
.osj-section { padding: 60px 0; }
.osj-section--tint { background: var(--osj-bg); }
.osj-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--osj-brand); margin-bottom: 10px; }
.osj-h2 { font-family: var(--osj-serif); font-size: 1.85rem; color: var(--osj-brand-900); letter-spacing: -.01em; line-height: 1.2; }
.osj-secbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.osj-secbar .osj-more { color: var(--osj-brand); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.osj-secbar .osj-more:hover { color: var(--osj-brand-700); }

/* =====================================================================
   HOME
   ===================================================================== */
.osj-hero { position: relative; background: var(--osj-brand-900); color: #fff; overflow: hidden; }
.osj-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 420px at 88% -10%, rgba(245,158,11,.16), transparent 60%),
              radial-gradient(720px 520px at 6% 120%, rgba(31,87,214,.45), transparent 55%); }
.osj-hero .container { position: relative; z-index: 1; padding-top: 62px; padding-bottom: 62px; }
.osj-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #ffd487; margin-bottom: 18px; }
.osj-hero__title { font-family: var(--osj-serif); font-size: 3rem; line-height: 1.12; letter-spacing: -.02em; max-width: 15ch; margin-bottom: 18px; color: #fff; }
.osj-hero__lead { color: #c3cef2; font-size: 1.08rem; max-width: 620px; line-height: 1.6; margin-bottom: 26px; }
.osj-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.osj-hero__facts { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .82rem; color: #9fb0e6; }
.osj-hero__facts b { color: #fff; font-weight: 600; }

/* Trust / indexing strip */
.osj-trust { background: #fff; border-bottom: 1px solid var(--osj-line); }
.osj-trust .container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 18px 24px; }
.osj-trust__item { display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--osj-ink-2); }
.osj-trust__item svg { color: var(--osj-brand); flex-shrink: 0; }
.osj-trust__item b { color: var(--osj-ink); font-weight: 600; }

/* Current issue spotlight */
.osj-spotlight { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.osj-cover { border-radius: var(--osj-radius-lg); overflow: hidden; border: 1px solid var(--osj-line); box-shadow: var(--osj-shadow); background: linear-gradient(160deg, var(--osj-brand), var(--osj-brand-900)); aspect-ratio: 3/4; display: flex; }
.osj-cover img { width: 100%; height: 100%; object-fit: cover; }
.osj-cover__ph { color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; width: 100%; }
.osj-cover__ph .k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.osj-cover__ph .v { font-family: var(--osj-serif); font-size: 1.7rem; line-height: 1.15; }
.osj-cover__ph .issn { font-size: .74rem; opacity: .75; }

/* Article rows (lists) */
.osj-artlist { display: grid; gap: 0; }
.osj-artrow { display: block; padding: 20px 0; border-top: 1px solid var(--osj-line); }
.osj-artrow:first-child { border-top: 0; }
.osj-artrow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.osj-artrow__title { font-family: var(--osj-serif); font-size: 1.16rem; line-height: 1.35; color: var(--osj-brand-900); margin-bottom: 6px; }
.osj-artrow__title a { color: inherit; }
.osj-artrow__title a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-artrow__authors { font-size: .9rem; color: var(--osj-ink-2); }
.osj-artrow__foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: .8rem; color: var(--osj-muted); }
.osj-artrow__foot a { color: var(--osj-brand); font-weight: 600; }

/* Article cards (grid) */
.osj-cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.osj-acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--osj-line); border-radius: var(--osj-radius-lg); padding: 24px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.osj-acard:hover { border-color: var(--osj-brand-100); }
.osj-acard__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.osj-acard__title { font-family: var(--osj-serif); font-size: 1.08rem; line-height: 1.35; color: var(--osj-brand-900); margin-bottom: 10px; }
.osj-acard__title a { color: inherit; }
.osj-acard__title a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-acard__authors { font-size: .85rem; color: var(--osj-ink-2); margin-bottom: 14px; }
.osj-acard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--osj-muted); }
.osj-acard__foot a { color: var(--osj-brand); font-weight: 600; }

/* Call for papers */
.osj-cfp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--osj-radius-lg); overflow: hidden; border: 1px solid var(--osj-line); }
.osj-cfp__body { background: #fff; padding: 34px 36px; }
.osj-cfp__side { background: linear-gradient(150deg, var(--osj-brand), var(--osj-brand-900)); color: #fff; padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.osj-cfp__side .k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd487; }

/* Metrics band */
.osj-metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--osj-line); border-radius: var(--osj-radius-lg); overflow: hidden; }
.osj-metric { text-align: center; padding: 26px 16px; border-left: 1px solid var(--osj-line); }
.osj-metric:first-child { border-left: 0; }
.osj-metric__num { font-family: var(--osj-serif); font-size: 2.1rem; color: var(--osj-brand); line-height: 1; }
.osj-metric__lbl { font-size: .8rem; color: var(--osj-muted); margin-top: 8px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .osj-cardgrid { grid-template-columns: repeat(2, 1fr); }
  .osj-spotlight { grid-template-columns: 220px 1fr; gap: 24px; }
  .osj-cfp { grid-template-columns: 1fr; }
  .osj-metrics { grid-template-columns: repeat(2, 1fr); }
  .osj-metric:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .osj-utility { display: none; }
  .osj-masthead .container { flex-wrap: wrap; gap: 14px; }
  .osj-search input { width: 100%; max-width: none; }
  .osj-masthead__actions { width: 100%; }
  .osj-search { flex: 1; }
  .osj-hero__title { font-size: 2.1rem; }
  .osj-hero__cta { flex-direction: column; }
  .osj-hero__cta .osj-btn { width: 100%; }
  .osj-section { padding: 42px 0; }
  .osj-h2 { font-size: 1.5rem; }
  .osj-spotlight { grid-template-columns: 1fr; }
  .osj-cover { max-width: 240px; }
  .osj-cardgrid { grid-template-columns: 1fr; }
  .osj-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 460px) {
  .osj-metrics { grid-template-columns: 1fr 1fr; }
  .osj-footer__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   ARTICLE PAGE (scholarly)
   ===================================================================== */
.osj-arthead { background: #fff; border-bottom: 1px solid var(--osj-line); }
.osj-arthead .container { padding-top: 30px; padding-bottom: 32px; }
.osj-crumbs { font-size: .8rem; color: var(--osj-muted); margin-bottom: 16px; }
.osj-crumbs a { color: var(--osj-brand); }
.osj-crumbs span { margin: 0 6px; color: var(--osj-line-2); }
.osj-retracted { background: #fbeae8; border: 1px solid #f0c5c0; color: #b3382f; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: .9rem; }
.osj-arthead__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.osj-arthead__title { font-family: var(--osj-serif); font-size: 2.15rem; line-height: 1.22; letter-spacing: -.01em; color: var(--osj-brand-900); max-width: 62ch; margin-bottom: 12px; }
.osj-arthead__subtitle { font-size: 1.15rem; color: var(--osj-ink-2); line-height: 1.5; margin-bottom: 16px; }
.osj-arthead__authors { font-size: 1.02rem; color: var(--osj-ink); line-height: 1.7; margin-bottom: 12px; }
.osj-author sup { color: var(--osj-brand); font-weight: 600; font-size: .7em; }
.osj-corr { color: var(--osj-amber-700); margin-left: 2px; }
.osj-arthead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .85rem; color: var(--osj-muted); margin-bottom: 22px; }
.osj-arthead__meta > span, .osj-arthead__meta > strong { position: relative; }
.osj-arthead__meta > span::before { content: "·"; margin-right: 10px; color: var(--osj-line-2); }
.osj-arthead__meta strong { color: var(--osj-ink); }
.osj-arthead__meta a { color: var(--osj-brand); }
.osj-arthead__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.osj-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 46px; padding-top: 42px; padding-bottom: 64px; align-items: start; }
.osj-article { max-width: 780px; min-width: 0; }

/* Prose */
.osj-prose h2 { font-family: var(--osj-serif); font-size: 1.5rem; color: var(--osj-brand-900); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--osj-line); }
.osj-prose h3 { font-size: 1.12rem; color: var(--osj-ink); margin: 24px 0 8px; }
.osj-prose p { margin: 0 0 16px; color: var(--osj-ink-2); line-height: 1.78; font-size: 1.02rem; }
.osj-prose a { color: var(--osj-brand); }
.osj-prose ul, .osj-prose ol { margin: 0 0 16px 22px; color: var(--osj-ink-2); line-height: 1.75; }
.osj-prose li { margin-bottom: 6px; }
.osj-prose img { border-radius: 10px; margin: 12px 0; }
.osj-prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .92rem; }
.osj-prose th, .osj-prose td { border: 1px solid var(--osj-line); padding: 9px 12px; text-align: left; }
.osj-prose th { background: var(--osj-bg); }
.osj-prose figure { margin: 16px 0; }
.osj-prose figcaption { font-size: .84rem; color: var(--osj-muted); margin-top: 6px; }

.osj-abstract { background: var(--osj-brand-050); border-left: 4px solid var(--osj-brand); border-radius: 12px; padding: 22px 26px; margin-bottom: 30px; }
.osj-abstract h2 { margin: 0 0 10px; border: 0; padding: 0; font-size: 1.25rem; }
.osj-abstract p { margin: 0; color: var(--osj-ink-2); }
.osj-kw { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.osj-kw__label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--osj-muted); margin-right: 4px; }
.osj-kw__chip { background: #fff; border: 1px solid var(--osj-line-2); border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--osj-ink-2); }

.osj-statements { margin-top: 30px; display: grid; gap: 12px; }
.osj-statement { background: var(--osj-bg); border: 1px solid var(--osj-line); border-radius: 12px; padding: 15px 20px; }
.osj-statement h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--osj-brand); margin: 0 0 5px; }
.osj-statement p { font-size: .92rem; color: var(--osj-ink-2); margin: 0; line-height: 1.6; }
.osj-references { font-size: .9rem; color: var(--osj-ink-2); line-height: 1.7; }
.osj-references p { font-size: .9rem; }

/* Sidebar */
.osj-aside { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 16px; }
.osj-sidecard { background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; padding: 18px 20px; }
.osj-sidecard h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--osj-muted); margin: 0 0 12px; }
.osj-sidecard--cta { background: transparent; border: 0; padding: 0; }
.osj-sidemetrics { display: flex; gap: 6px; text-align: center; }
.osj-sidemetrics > div { flex: 1; }
.osj-sidemetrics b { display: block; font-family: var(--osj-serif); font-size: 1.5rem; color: var(--osj-brand); }
.osj-sidemetrics span { font-size: .7rem; color: var(--osj-muted); }
.osj-infolist { display: grid; gap: 9px; margin: 0; }
.osj-infolist > div { display: flex; justify-content: space-between; gap: 12px; }
.osj-infolist dt { font-size: .8rem; color: var(--osj-muted); }
.osj-infolist dd { font-size: .82rem; color: var(--osj-ink); text-align: right; margin: 0; word-break: break-word; }
.osj-infolist dd a { color: var(--osj-brand); }
.osj-affils { margin: 0; padding-left: 18px; font-size: .82rem; color: var(--osj-ink-2); display: grid; gap: 5px; }
.osj-corr-note { font-size: .8rem; color: var(--osj-ink-2); margin: 12px 0 0; }
.osj-corr-note a { color: var(--osj-brand); }
.osj-related { display: block; font-size: .88rem; color: var(--osj-brand-900); padding: 10px 0; border-top: 1px solid var(--osj-line); }
.osj-related:first-of-type { border-top: 0; padding-top: 0; }
.osj-related:hover { color: var(--osj-brand); text-decoration: none; }
.osj-related span { display: block; font-size: .74rem; color: var(--osj-muted); margin-top: 2px; }

/* Cite modal */
.osj-cite { max-width: 620px; }
.osj-cite__row { border: 1px solid var(--osj-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.osj-cite__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--osj-brand); font-weight: 700; margin-bottom: 6px; }
.osj-cite__text { font-size: .86rem; color: var(--osj-ink-2); line-height: 1.5; margin-bottom: 10px; }

@media (max-width: 900px) {
  .osj-article-grid { grid-template-columns: 1fr; gap: 30px; }
  .osj-aside { position: static; }
  .osj-arthead__title { font-size: 1.7rem; }
}

/* =====================================================================
   INTERIOR PAGES — page header, filters, lists, issues, TOC
   ===================================================================== */
.osj-pagehead { background: linear-gradient(180deg, #fff, var(--osj-bg)); border-bottom: 1px solid var(--osj-line); }
.osj-pagehead .container { padding-top: 40px; padding-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.osj-pagehead__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--osj-brand); margin-bottom: 8px; }
.osj-pagehead h1 { font-family: var(--osj-serif); font-size: 2.1rem; color: var(--osj-brand-900); letter-spacing: -.01em; line-height: 1.15; }
.osj-pagehead p { color: var(--osj-muted); margin-top: 8px; max-width: 640px; }

.osj-body { padding: 44px 0 64px; }

/* Filters */
.osj-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; }
.osj-filters .f { display: flex; flex-direction: column; gap: 5px; }
.osj-filters .f--grow { flex: 1; min-width: 240px; }
.osj-filters label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--osj-muted); }
.osj-filters input, .osj-filters select { padding: 10px 13px; border: 1px solid var(--osj-line-2); border-radius: 10px; font: inherit; font-size: .9rem; background: #fff; color: var(--osj-ink); }
.osj-filters input:focus, .osj-filters select:focus { outline: none; border-color: var(--osj-brand); }
.osj-count { font-size: .88rem; color: var(--osj-muted); margin-bottom: 14px; }
.osj-count strong { color: var(--osj-ink); }

.osj-artlist--boxed { background: #fff; border: 1px solid var(--osj-line); border-radius: var(--osj-radius-lg); padding: 4px 24px; }
.osj-empty { text-align: center; padding: 50px 20px; color: var(--osj-muted); }
.osj-empty svg { max-width: 180px; opacity: .8; margin-bottom: 8px; }

/* TOC (issue) */
.osj-issue-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.osj-toc-group { margin-bottom: 30px; }
.osj-toc-group:last-child { margin-bottom: 0; }
.osj-toc-group > h2 { font-family: var(--osj-serif); font-size: 1.2rem; color: var(--osj-brand-900); margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--osj-brand); display: inline-block; }

/* Issue archive grid */
.osj-issue-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.osj-issuecard { display: flex; gap: 16px; background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; padding: 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.osj-issuecard:hover { border-color: var(--osj-brand-100); }
.osj-issuecard__cover { width: 66px; height: 90px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: linear-gradient(160deg, var(--osj-brand), var(--osj-brand-900)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.osj-issuecard__cover img { width: 100%; height: 100%; object-fit: cover; }
.osj-issuecard__cover .vol { font-family: var(--osj-serif); font-size: 1.1rem; line-height: 1.1; }
.osj-issuecard__cover .yr { font-size: .68rem; opacity: .8; margin-top: 3px; }
.osj-issuecard__body { min-width: 0; }
.osj-issuecard__body h3 { font-family: var(--osj-serif); font-size: 1.05rem; margin: 0 0 4px; color: var(--osj-brand-900); }
.osj-issuecard__body h3 a { color: inherit; }
.osj-issuecard__body h3 a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-issuecard__meta { font-size: .82rem; color: var(--osj-muted); }
.osj-issuecard__cur { display: inline-block; margin-top: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--osj-amber-700); background: var(--osj-amber-050); padding: 3px 9px; border-radius: 999px; }

@media (max-width: 900px) {
  .osj-issue-grid { grid-template-columns: 1fr; gap: 26px; }
  .osj-issue-cards { grid-template-columns: repeat(2, 1fr); }
  .osj-pagehead h1 { font-size: 1.7rem; }
}
@media (max-width: 620px) {
  .osj-issue-cards { grid-template-columns: 1fr; }
  .osj-filters .f { width: 100%; }
}

/* =====================================================================
   INSTITUTIONAL — people, masthead, policies, contact
   ===================================================================== */
.osj-staff-group { margin-bottom: 32px; }
.osj-staff-group > h2 { font-family: var(--osj-serif); font-size: 1.25rem; color: var(--osj-brand-900); margin: 0 0 18px; padding-bottom: 8px; border-bottom: 2px solid var(--osj-brand); display: inline-block; }
.osj-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.osj-people--lead { grid-template-columns: 1fr; }
.osj-person { background: #fff; border: 1px solid var(--osj-line); border-radius: 12px; padding: 16px 18px; }
.osj-person__name { font-weight: 600; color: var(--osj-brand-900); font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; }
.osj-person__role { font-size: .85rem; color: var(--osj-brand); margin-top: 2px; }
.osj-person__aff { font-size: .84rem; color: var(--osj-muted); margin-top: 5px; line-height: 1.5; }

.osj-meta { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; overflow: hidden; font-size: .9rem; }
.osj-meta tr { border-bottom: 1px solid var(--osj-line); }
.osj-meta tr:last-child { border-bottom: 0; }
.osj-meta td { padding: 12px 18px; vertical-align: top; }
.osj-meta td:first-child { width: 240px; color: var(--osj-ink-2); font-weight: 600; background: var(--osj-bg); }
.osj-meta td:last-child { color: var(--osj-ink); }
.osj-meta a { color: var(--osj-brand); }

.osj-policy-list { display: grid; gap: 12px; }
.osj-policy-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--osj-line); border-radius: 12px; padding: 16px 20px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.osj-policy-item:hover { border-color: var(--osj-brand-100); text-decoration: none; }
.osj-policy-item__t { font-family: var(--osj-serif); font-size: 1.05rem; color: var(--osj-brand-900); }
.osj-policy-item__u { font-size: .76rem; color: var(--osj-muted); white-space: nowrap; }
.osj-policy-item__arrow { color: var(--osj-brand); }

.osj-panel { background: #fff; border: 1px solid var(--osj-line); border-radius: 16px; padding: 26px 28px; }
.osj-panel h3 { font-family: var(--osj-serif); font-size: 1.2rem; color: var(--osj-brand-900); margin: 0 0 14px; }
.osj-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: start; }
.osj-contact-card { background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.osj-contact-card h4 { font-size: 1rem; color: var(--osj-brand-900); margin: 0 0 6px; }
.osj-contact-card p { font-size: .9rem; color: var(--osj-ink-2); line-height: 1.6; margin: 0; }
.osj-contact-card a { color: var(--osj-brand); }
.osj-form .form-group { margin-bottom: 16px; }
.osj-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--osj-ink-2); margin-bottom: 6px; }
.osj-form input, .osj-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--osj-line-2); border-radius: 10px; font: inherit; font-size: .92rem; color: var(--osj-ink); }
.osj-form input:focus, .osj-form textarea:focus { outline: none; border-color: var(--osj-brand); }
.osj-form textarea { min-height: 130px; resize: vertical; }

/* Template download banner on policy pages */
.osj-template-dl { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--osj-brand-050); border: 1px solid var(--osj-brand-100); border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; }
.osj-template-dl span { color: var(--osj-ink-2); font-size: .92rem; }

@media (max-width: 720px) {
  .osj-people { grid-template-columns: 1fr; }
  .osj-contact-grid { grid-template-columns: 1fr; }
  .osj-meta td:first-child { width: 130px; }
}

/* =====================================================================
   HOME — high-impact upgrades (featured, subjects, values, CTA)
   ===================================================================== */
/* Featured / lead research */
.osj-featured { display: grid; grid-template-columns: 1.35fr 1fr; border: 1px solid var(--osj-line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--osj-shadow-sm); }
.osj-featured__body { padding: 34px 38px; display: flex; flex-direction: column; min-width: 0; }
.osj-featured__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--osj-amber-700); margin-bottom: 14px; }
.osj-featured__badges { display: flex; gap: 8px; margin-bottom: 14px; }
.osj-featured__title { font-family: var(--osj-serif); font-size: 1.75rem; line-height: 1.24; color: var(--osj-brand-900); margin-bottom: 12px; }
.osj-featured__title a { color: inherit; }
.osj-featured__title a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-featured__authors { font-size: .92rem; color: var(--osj-ink-2); margin-bottom: 14px; }
.osj-featured__excerpt { font-size: 1rem; color: var(--osj-ink-2); line-height: 1.7; margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.osj-featured__foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.osj-featured__visual { position: relative; background: linear-gradient(155deg, var(--osj-brand), var(--osj-brand-900)); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; overflow: hidden; }
.osj-featured__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 240px at 120% -10%, rgba(245,158,11,.28), transparent 60%); }
.osj-featured__visual > * { position: relative; z-index: 1; }
.osj-featured__vk { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd487; }
.osj-featured__vbig { font-family: var(--osj-serif); font-size: 2rem; line-height: 1.15; }
.osj-featured__vissn { font-size: .78rem; color: #c3cef2; }

/* Subjects */
.osj-subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.osj-subject { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--osj-line); border-radius: 12px; padding: 15px 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.osj-subject:hover { border-color: var(--osj-brand-100); text-decoration: none; }
.osj-subject__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--osj-brand-050); color: var(--osj-brand); display: grid; place-items: center; flex-shrink: 0; }
.osj-subject__name { font-weight: 600; color: var(--osj-brand-900); font-size: .92rem; }

/* Value props */
.osj-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.osj-value__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--osj-amber-050); color: var(--osj-amber-700); display: grid; place-items: center; margin-bottom: 14px; }
.osj-value h3 { font-size: 1.02rem; color: var(--osj-brand-900); margin-bottom: 6px; }
.osj-value p { font-size: .9rem; color: var(--osj-muted); margin: 0; line-height: 1.6; }

/* CTA band */
.osj-ctaband { background: linear-gradient(120deg, var(--osj-brand), var(--osj-brand-900)); border-radius: 18px; padding: 42px 44px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.osj-ctaband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 100% 120%, rgba(245,158,11,.22), transparent 60%); }
.osj-ctaband > * { position: relative; z-index: 1; }
.osj-ctaband h2 { font-family: var(--osj-serif); font-size: 1.75rem; color: #fff; max-width: 22ch; margin-bottom: 6px; }
.osj-ctaband p { color: #c3cef2; max-width: 52ch; }
.osj-ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .osj-featured { grid-template-columns: 1fr; }
  .osj-featured__visual { min-height: 180px; }
}

/* =====================================================================
   HERO v2 — modern two-column masthead (search + stats + issue panel)
   ===================================================================== */
.osj-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 80% at 30% 20%, #000, transparent 75%); }
.osj-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 60px; padding-bottom: 66px; }
.osj-hero__main { min-width: 0; }
.osj-hero__grid .osj-hero__title { font-size: 2rem; line-height: 1.16; max-width: 20ch; margin-bottom: 16px; }
.osj-hero__grid .osj-hero__lead { margin-bottom: 24px; }

.osj-hero__search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 13px; padding: 7px 7px 7px 14px; box-shadow: 0 12px 34px rgba(0,10,40,.28); max-width: 540px; }
.osj-hero__search svg { color: var(--osj-muted); flex-shrink: 0; }
.osj-hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: .95rem; color: var(--osj-ink); background: transparent; padding: 8px 4px; }
.osj-hero__search button { flex-shrink: 0; }
.osj-hero__quick { margin-top: 12px; font-size: .82rem; color: #9fb0e6; }
.osj-hero__quick a { color: #cdd9ff; font-weight: 500; }
.osj-hero__cta { margin-top: 22px; }

.osj-hero__stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.osj-hero__stat b { display: block; font-family: var(--osj-serif); font-size: 1.9rem; color: #fff; line-height: 1; }
.osj-hero__stat span { font-size: .78rem; color: #9fb0e6; letter-spacing: .02em; }

/* Glass "current issue" panel */
.osj-hero__panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 22px; backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0,8,30,.30); }
.osj-hero__panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.osj-hero__panel-h .k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd487; font-weight: 700; }
.osj-hero__panel-h .oa { font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #3a2a05; background: var(--osj-amber); padding: 3px 9px; border-radius: 999px; }
.osj-hero__issue { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.osj-hero__issue-cover { width: 60px; height: 80px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: linear-gradient(160deg, #ffffff22, #ffffff08); border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.osj-hero__issue-cover img { width: 100%; height: 100%; object-fit: cover; }
.osj-hero__issue-cover .v { font-family: var(--osj-serif); font-size: .95rem; line-height: 1.05; }
.osj-hero__issue-meta .t { font-family: var(--osj-serif); font-size: 1.05rem; color: #fff; }
.osj-hero__issue-meta .s { font-size: .8rem; color: #b9c8e4; margin-top: 3px; }
.osj-hero__list a { display: block; font-size: .88rem; color: #dce5ff; line-height: 1.4; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.osj-hero__list a:last-child { border-bottom: 0; }
.osj-hero__list a:hover { color: #fff; text-decoration: none; }
.osj-hero__panel .osj-btn { width: 100%; margin-top: 14px; }

@media (max-width: 960px) {
  .osj-hero__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; padding-bottom: 46px; }
  .osj-hero__grid .osj-hero__title { font-size: 1.7rem; }
  .osj-hero__panel { max-width: 460px; }
}
@media (max-width: 620px) {
  .osj-hero__search { flex-wrap: wrap; }
  .osj-hero__stats { gap: 22px; }
  .osj-hero__stat b { font-size: 1.5rem; }
}

/* =====================================================================
   DOCUMENT PAGES (About, Aims & Scope, Policies) — 2-col reading layout
   ===================================================================== */
.osj-doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; align-items: start; }
.osj-doc { max-width: 780px; }
.osj-doc-aside { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 16px; }
.osj-doc-nav a { display: block; padding: 10px 0; border-top: 1px solid var(--osj-line); font-size: .88rem; color: var(--osj-ink-2); }
.osj-doc-nav a:first-child { border-top: 0; padding-top: 0; }
.osj-doc-nav a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-doc-nav a.is-current { color: var(--osj-brand); font-weight: 600; }
.osj-doc-cta { background: linear-gradient(155deg, var(--osj-brand), var(--osj-brand-900)); border: 0; color: #fff; }
.osj-doc-cta h4 { color: #fff; }
.osj-doc-cta p { font-size: .86rem; color: #c3cef2; line-height: 1.55; margin: 0 0 14px; }
.osj-doc-cta .osj-btn { width: 100%; }

/* Lead paragraph inside document prose */
.osj-doc .osj-lead { font-size: 1.12rem; line-height: 1.7; color: var(--osj-ink); border-left: 3px solid var(--osj-amber); padding-left: 18px; margin-bottom: 26px; }
.osj-doc h2 { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .osj-doc-grid { grid-template-columns: 1fr; gap: 30px; }
  .osj-doc-aside { position: static; }
}

/* =====================================================================
   ARTICLES BROWSE — faceted sidebar + rich results
   ===================================================================== */
.osj-browse { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 34px; align-items: start; }
.osj-facets { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 16px; }
.osj-facet { background: #fff; border: 1px solid var(--osj-line); border-radius: 14px; padding: 16px 18px; }
.osj-facet h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--osj-muted); margin: 0 0 12px; }
.osj-facet__search { position: relative; }
.osj-facet__search input { width: 100%; padding: 10px 12px; border: 1px solid var(--osj-line-2); border-radius: 10px; font: inherit; font-size: .88rem; }
.osj-facet__search input:focus { outline: none; border-color: var(--osj-brand); }
.osj-facet__search button { width: 100%; margin-top: 8px; }
.osj-facet__list { display: grid; }
.osj-facet__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .87rem; color: var(--osj-ink-2); border-top: 1px solid var(--osj-line); }
.osj-facet__list a:first-child { border-top: 0; }
.osj-facet__list a:hover { color: var(--osj-brand); text-decoration: none; }
.osj-facet__list a.is-active { color: var(--osj-brand); font-weight: 600; }
.osj-facet__list a .n { color: var(--osj-muted); font-size: .78rem; background: var(--osj-bg); border-radius: 999px; padding: 1px 8px; }

.osj-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.osj-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--osj-muted); }
.osj-sort select { padding: 8px 12px; border: 1px solid var(--osj-line-2); border-radius: 9px; font: inherit; font-size: .85rem; background: #fff; color: var(--osj-ink); }
.osj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.osj-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--osj-brand-050); color: var(--osj-brand); border: 1px solid var(--osj-brand-100); border-radius: 999px; padding: 5px 6px 5px 12px; font-size: .8rem; font-weight: 500; }
.osj-chip a { display: inline-flex; color: var(--osj-brand); border-radius: 999px; }
.osj-chip a:hover { background: var(--osj-brand-100); }
.osj-chip--clear { color: var(--osj-muted); font-size: .8rem; }
.osj-chip--clear:hover { color: var(--osj-brand); }

.osj-artrow__abstract { font-size: .9rem; color: var(--osj-ink-2); line-height: 1.6; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.osj-artrow__foot .m { display: inline-flex; align-items: center; gap: 5px; }
.osj-artrow__foot .m svg { color: var(--osj-muted); }

@media (max-width: 900px) {
  .osj-browse { grid-template-columns: 1fr; gap: 22px; }
  .osj-facets { position: static; flex-direction: row; flex-wrap: wrap; }
  .osj-facet { flex: 1; min-width: 200px; }
}
