

/* ---- Utility bar + nav ----------------------------------------------- */
.c-util { background: var(--ol-surface-navy-deep); color: #8A94A3; font-size: 12.5px; }
.c-util .wrap { display: flex; align-items: center; gap: 22px; height: 36px; }
.c-util a { color: #8A94A3; text-decoration: none; display: inline-flex; align-items: center; align-self: stretch; }
.c-util a:hover { color: #fff; }
.c-util .sp { margin-left: auto; }

/* Pinned to the very top. It used to stick at top:42px so as to sit below the
   navy utility bar - but that bar is not sticky, so it scrolled away and left
   a 42px slot with the page sliding through it above the nav. The utility bar
   carries only secondary links, every one of which is repeated in the menu
   panel, so it scrolls off and the nav takes the top edge itself. */
.c-nav { background: var(--ol-white); border-bottom: 1px solid var(--ol-rule); position: sticky; top: 0; z-index: 100; }
.c-nav .wrap { display: flex; align-items: center; gap: 24px; height: var(--ol-header-h); }
.c-nav .logo-lockup { color: var(--ol-navy-800); }
/* The mark is the official artwork now, so it carries its own colour. */
.c-nav nav { display: flex; gap: 24px; margin-left: 16px; align-self: stretch; }
.c-nav nav a { display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--ol-navy-800); text-decoration: none; }
.c-nav nav a:hover { color: var(--ol-gold-700); }
.c-nav .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* --- narrow-screen menu ----------------------------------------------------
   The nav used to vanish below 1040px with nothing in its place. A <details>
   disclosure replaces it: no script, and the summary is a real button to a
   screen reader.

   Everything here is written so the thing degrades honestly. The default state
   is hidden and closed, so a stylesheet that fails to arrive leaves a plain
   collapsed disclosure rather than an open menu sitting in the page. */

/* Sits after Submit Manuscript in the markup and on screen: the menu is the
   last thing in the bar, where a thumb reaches it. The action group keeps the
   margin-left:auto that pushes both to the right. */
.c-menu { display: none; position: relative; margin-left: 10px; }

.c-menu > summary {
  /* Both are needed: list-style for Firefox, the pseudo-element for older
     WebKit. Without them the summary carries a stray triangle. */
  list-style: none;
  display: flex; align-items: center; justify-content: center;
  gap: 9px; cursor: pointer; user-select: none;
  /* Sized by its content so the label is not squeezed; it becomes a square
     icon button below 680px, where the label is hidden. */
  height: 42px; padding: 0 14px;
  border: 1px solid var(--ol-btn-edge); border-radius: var(--ol-radius-xs);
  color: var(--ol-navy-800); background: var(--ol-white);
  transition: var(--ol-transition);
}
.c-menu > summary::-webkit-details-marker { display: none; }
.c-menu > summary::marker { content: ""; }
.c-menu > summary:hover { border-color: var(--ol-gold-500); color: var(--ol-gold-700); }
.c-menu > summary:focus-visible { outline: 2px solid var(--ol-gold-500); outline-offset: 2px; }
.c-menu[open] > summary { border-color: var(--ol-gold-500); color: var(--ol-gold-700); background: var(--ol-gold-100); }

/* Three bars from one element and its two pseudo-elements, becoming a cross
   when open. Sized in px so it stays crisp at any root font size. */
.c-menu .bars { position: relative; display: block; width: 17px; height: 2px; }
.c-menu .bars, .c-menu .bars::before, .c-menu .bars::after {
  background: currentColor; border-radius: 2px;
  transition: transform .18s ease, top .18s ease, background-color .18s ease;
}
.c-menu .bars::before, .c-menu .bars::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px;
}
.c-menu .bars::before { top: -6px; }
.c-menu .bars::after  { top: 6px; }
.c-menu[open] .bars { background: transparent; }
.c-menu[open] .bars::before { top: 0; transform: rotate(45deg); }
.c-menu[open] .bars::after  { top: 0; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .c-menu .bars, .c-menu .bars::before, .c-menu .bars::after { transition: none; }
}

/* The label is for wider tablets; on a phone the icon stands alone. */
.c-menu .word { font-size: 14px; font-weight: 600; }

.c-menu-panel {
  position: absolute; right: 0; top: calc(100% + 9px); z-index: 300;
  width: 248px; display: grid; gap: 1px; padding: 8px;
  background: var(--ol-white); border: 1px solid var(--ol-rule);
  border-radius: var(--ol-radius);
  box-shadow: 0 16px 40px rgba(16, 26, 43, .18);
}
.c-menu-panel a, .c-menu-panel button {
  display: block; width: 100%; text-align: left; font: inherit; font-size: 14.5px;
  line-height: 1.3; padding: 11px 12px; border: 0; border-radius: var(--ol-radius-xs);
  background: none; color: var(--ol-navy-800); text-decoration: none; cursor: pointer;
}
.c-menu-panel a:hover, .c-menu-panel button:hover {
  background: var(--ol-gold-100); color: var(--ol-gold-700);
}
.c-menu-panel a:focus-visible, .c-menu-panel button:focus-visible {
  outline: 2px solid var(--ol-gold-500); outline-offset: -2px;
}
.c-menu-panel hr { border: 0; border-top: 1px solid var(--ol-rule); margin: 7px 10px; }
.c-menu-panel form { margin: 0; }

@media (max-width: 1040px) {
  .c-nav nav { display: none; }
  .c-menu { display: block; }
  /* The action buttons crowd the menu out. Submit is the one that must stay;
     Editorial and Admin are both in the panel. */
  .c-nav .right { gap: 10px; }
  .c-nav .right .btn-ghost, .c-nav .right .btn-outline { display: none; }
}

@media (max-width: 680px) {
  /* The utility bar repeats what the panel already carries. */
  .c-util .wrap > a { display: none; }
  .c-util .wrap { gap: 14px; }
  .c-menu .word { display: none; }
  .c-menu > summary { width: 42px; padding: 0; }
  .c-nav .wrap { gap: 12px; }
  .c-nav .logo-lockup .lw span { display: none; }

  /* The menu button is not at the screen edge — Submit sits to its right — so
     a panel anchored to the button ran off the left of a phone. Below this
     width the bar becomes the positioning context and the panel spans it. */
  .c-menu { position: static; }
  .c-nav .wrap { position: relative; }
  .c-menu-panel { left: 0; right: 0; width: auto; }
}

/* The one action in the menu panel, carrying the bar button's colour so it
   still reads as the primary thing on the page. */
.c-menu-panel a.c-menu-cta {
  background: var(--ol-gold-500);
  color: #14233A;
  font-weight: 600;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  margin: 4px 6px;
}
.c-menu-panel a.c-menu-cta:hover { background: var(--ol-gold-600); }

@media (max-width: 560px) {
  /* SUBMIT LEAVES THE BAR ON A PHONE.

     At 375px it measured 166px — forty-four per cent of the header, wider
     than the logo, for an action most visitors are not there to take. It is
     the first item in the menu panel instead, where it is still one tap away
     and is the only thing in gold.

     It used to carry style="padding:10px 18px;font-size:14px" inline, which
     is why the earlier attempt to shrink it below 420px never worked: no
     stylesheet can outrank an inline style, so the rule was dead the day it
     was written. The inline style is gone. */
  .c-nav .right .btn-gold { display: none; }
}


/* ---- Search-first hero ----------------------------------------------- */
.c-hero { background: linear-gradient(170deg, #0B1F3A 0%, #10294A 58%, #16375E 100%); color: #fff; position: relative; overflow: hidden; }
.c-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background:
    radial-gradient(520px 320px at 88% 18%, rgba(212,176,106,.22), transparent 62%),
    radial-gradient(480px 300px at 6% 92%, rgba(155,183,140,.18), transparent 64%);
}
.c-hero .wrap { position: relative; z-index: 2; padding-block: var(--ol-xl) var(--ol-l); text-align: center; }
.c-hero h1 { font-family: var(--ol-font-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); font-weight: 600; margin: 0 0 10px; }
.c-hero p { color: #C3CBD6; font-size: 1.0625rem; margin: 0 auto 34px; max-width: 58ch; }

.c-search { max-width: 820px; margin: 0 auto; }
/* The search box is a white card on the navy hero in BOTH themes - that is
   the design, and it is why the background is pinned rather than tokenised.
   The consequence is that its text has to be pinned too: left inheriting
   --ol-ink, it turned near-white in dark mode and the field read 1.22:1
   against its own background. A search box you cannot see what you typed in
   is the least forgivable version of this bug, because the reader assumes
   the keystrokes were lost.

   color-scheme: light on the box keeps the native select menu, the caret and
   the autofill colours light as well, which is what a white field needs. */
.c-search .box { display: flex; background: #fff; color-scheme: light; border-radius: var(--ol-radius); overflow: hidden; box-shadow: var(--ol-shadow-md); }
.c-search select { border: 0; border-right: 1px solid #E5E1DA; padding: 0 16px; font: inherit; font-size: 14px; color: #222222; background: #fff; cursor: pointer; }
.c-search input { flex: 1; border: 0; padding: 18px 18px; font: inherit; font-size: 15.5px; min-width: 0; color: #222222; background: #fff; }
.c-search input::placeholder { color: #5A6472; opacity: 1; }
.c-search input:focus { outline: none; }
.c-search button { border: 0; background: var(--ol-gold-500); color: var(--ol-surface-navy-deep); font: inherit; font-weight: 600; font-size: 15px; padding: 0 30px; cursor: pointer; }
.c-search button:hover { background: var(--ol-gold-600); }
.c-search .adv { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 16px; font-size: 13px; color: #C3CBD6; }
.c-search .adv a { color: var(--ol-gold-300); text-decoration: none; }
.c-search .adv a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------- suggestions ---
   The drop-down is the same white card as .box above and is pinned light for
   exactly the same reason: it sits on the navy hero in both themes, so a
   tokenised background would turn its text near-white on white the moment the
   reader's phone was in dark mode. The box had that bug once; the list that
   hangs off it must not reintroduce it.

   .box sets overflow:hidden to clip its own corners, so the list cannot live
   inside it - it is a sibling, positioned against the form. */
.c-search { position: relative; }
.c-suggest {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px 0; list-style: none;
  background: #fff; color-scheme: light;
  border-radius: var(--ol-radius); box-shadow: var(--ol-shadow-lg, 0 12px 32px rgba(16,29,48,.22));
  max-height: 60vh; overflow-y: auto; text-align: left;
}
.c-suggest-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 18px; cursor: pointer;
  font-size: 15px; color: #222222;
  /* The part the reader has NOT typed is the new information, so the line is
     semibold and only the typed span drops back - the inverse of highlighting
     the match, and the reason the eye lands on the completion. */
  font-weight: 600;
}
.c-suggest-row .ic { color: #8A93A0; font-size: 13px; flex: none; width: 14px; }
.c-suggest-row .tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-suggest-row .tx .typed { font-weight: 400; color: #5A6472; }
.c-suggest-row .dt { flex: none; font-size: 12.5px; font-weight: 400; color: #5A6472; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-suggest-row.on,
.c-suggest-row:hover { background: #F2F4F7; }
.c-suggest-row[data-kind="keyword"] .tx { font-weight: 500; }

/* Announced, not shown. */
.c-suggest-live {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 620px) {
  .c-suggest-row .dt { display: none; }
  .c-suggest-row { padding: 12px 16px; }
}
@media (max-width: 620px) {
  /* THE BOX STACKS, SO THE DIVIDER HAS TO MOVE.

     Above this width the three controls sit in a row and a 1px border on the
     right of the select separates it from the input. Below it they wrap into
     a column — and that border is now on the outside edge of a full-width
     control, dividing nothing. The result was a single white block with a
     dropdown arrow floating in it: "All content" and the keyword field read
     as one field, which is why the scope selector was being missed.

     The rule follows the layout: a bottom border when stacked, and a faint
     ivory fill so the selector reads as a control to set rather than a box
     to type in. */
  .c-search .box { flex-wrap: wrap; }
  .c-search select,
  .c-search button { width: 100%; padding: 14px; }

  .c-search select {
    border-right: 0;
    border-bottom: 1px solid #E5E1DA;
    background: #FAF8F5;
    font-weight: 600;
  }
}

.c-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--ol-xl); margin-top: var(--ol-l); padding-top: var(--ol-m); border-top: 1px solid rgba(255,255,255,.16); }
.c-hero-stats div { text-align: center; }
.c-hero-stats b { display: block; font-family: var(--ol-font-display); font-size: 1.6rem; color: var(--ol-gold-500); line-height: 1; }
.c-hero-stats span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8A94A3; }

/* ---- Action rail ------------------------------------------------------ */
.c-rail { background: var(--ol-white); border-bottom: 1px solid var(--ol-rule); }
.c-rail .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-rail a { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; text-decoration: none; color: inherit; border-right: 1px solid var(--ol-rule); transition: var(--ol-transition); }
.c-rail a:last-child { border-right: 0; }
.c-rail a:hover { background: var(--ol-gold-100); }
.c-rail .ic { width: 38px; height: 38px; flex: none; border-radius: var(--ol-radius-xs); background: var(--ol-navy-100); color: var(--ol-navy-800); display: grid; place-items: center; }
.c-rail b { display: block; font-size: 14.5px; color: var(--ol-navy-800); }
.c-rail span { display: block; font-size: 12.5px; color: var(--ol-ink-muted); margin-top: 3px; line-height: 1.45; }
@media (max-width: 900px) { .c-rail .wrap { grid-template-columns: repeat(2, 1fr); } .c-rail a:nth-child(2) { border-right: 0; } }
@media (max-width: 520px) { .c-rail .wrap { grid-template-columns: 1fr; } .c-rail a { border-right: 0; border-bottom: 1px solid var(--ol-rule); } }

/* ---- Sections --------------------------------------------------------- */
.band { padding-block: var(--ol-xl); }
.band.alt { background: var(--ol-white); }
.c-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: var(--ol-m); }
.c-head h2 { font-family: var(--ol-font-display); font-size: 1.65rem; font-weight: 600; color: var(--ol-navy-800); margin: 0; }
.c-head a { font-size: 13.5px; font-weight: 600; color: var(--ol-gold-700); text-decoration: none; white-space: nowrap; }

/* Subject browse grid */
.c-subj { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.c-subj a {
  background: var(--ol-white); border: 1px solid var(--ol-rule); border-radius: var(--ol-radius);
  padding: 18px 18px; text-decoration: none; color: inherit; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; transition: var(--ol-transition);
}
.c-subj a:hover { border-color: var(--ol-gold-500); background: var(--ol-gold-100); }
.c-subj b { font-size: 14.5px; font-weight: 600; color: var(--ol-navy-800); }
.c-subj span { font-family: var(--ol-font-mono); font-size: 12px; color: var(--ol-ink-faint); }
@media (max-width: 900px) { .c-subj { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .c-subj { grid-template-columns: 1fr; } }

/* Journal list with turnaround figures exposed */
.c-jlist { display: grid; gap: 14px; }
.c-j { background: var(--ol-white); border: 1px solid var(--ol-rule); border-radius: var(--ol-radius); padding: 22px; display: grid; grid-template-columns: 58px 1fr auto; gap: 20px; align-items: center; transition: var(--ol-transition); }
.c-j:hover { border-color: var(--ol-gold-300); box-shadow: var(--ol-shadow-sm); }
.c-j .sp { width: 58px; height: 74px; border-radius: 3px; display: grid; place-items: center; color: #fff; font-family: var(--ol-font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.c-j h3 { font-family: var(--ol-font-display); font-size: 1.1875rem; font-weight: 600; margin: 0 0 5px; }
.c-j h3 a { color: var(--ol-navy-800); text-decoration: none; }
.c-j h3 a:hover { color: var(--ol-gold-700); }
.c-j p { margin: 0 0 10px; font-size: 13.5px; color: var(--ol-ink-muted); }
.c-j .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.c-j .chips span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--ol-navy-100); color: var(--ol-navy-800); font-weight: 500; }
.c-turn { display: grid; grid-template-columns: repeat(3, auto); gap: 22px; text-align: center; }
.c-turn b { display: block; font-family: var(--ol-font-display); font-size: 1.3rem; color: var(--ol-navy-800); line-height: 1; }
.c-turn span { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-ink-faint); margin-top: 5px; }
@media (max-width: 920px) { .c-j { grid-template-columns: 58px 1fr; } .c-turn { grid-column: 1 / -1; justify-content: start; padding-top: 12px; border-top: 1px solid var(--ol-rule); } }

/* Article feed, compact */
.c-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--ol-l); }
.c-fa { padding: 18px 0; border-bottom: 1px solid var(--ol-rule); }
.c-fa .t { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ol-gold-700); }
.c-fa h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin: 6px 0 5px; }
.c-fa h4 a { color: var(--ol-navy-800); text-decoration: none; }
.c-fa h4 a:hover { color: var(--ol-gold-700); }
.c-fa .m { font-size: 12.5px; color: var(--ol-ink-muted); }
.c-fa .d { font-family: var(--ol-font-mono); font-size: 11.5px; color: var(--ol-ink-faint); margin-top: 5px; }
@media (max-width: 760px) { .c-feed { grid-template-columns: 1fr; } }

/* Submission funnel */
.c-funnel { background: var(--ol-surface-navy); color: #fff; border-radius: var(--ol-radius-lg); padding: var(--ol-l); display: grid; grid-template-columns: 1fr auto; gap: var(--ol-l); align-items: center; }
.c-funnel h3 { font-family: var(--ol-font-display); font-size: 1.6rem; margin: 0 0 8px; }
.c-funnel p { margin: 0 0 18px; color: #C3CBD6; font-size: 15px; max-width: 54ch; }
.c-steps { display: flex; flex-wrap: wrap; gap: 10px; }
.c-steps span { font-size: 12.5px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #E3E9F0; }
@media (max-width: 820px) { .c-funnel { grid-template-columns: 1fr; } }

.c-trust { background: var(--ol-white); border-top: 1px solid var(--ol-rule); }
.c-trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px var(--ol-l); padding-block: 26px; }
.c-trust .lbl { width: 100%; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ol-ink-faint); }
.c-trust .t { font-family: var(--ol-font-display); font-size: 1.05rem; color: var(--ol-navy-800); opacity: .7; }

/* ===========  JOURNAL SCREEN  =========== */
.jc-bar { background: var(--j-primary); color: #fff; }
.jc-bar .wrap { display: flex; align-items: center; gap: 20px; height: 56px; font-size: 13px; }
.jc-bar a { color: #C3CBD6; text-decoration: none; }
.jc-bar .sp { margin-left: auto; }

.jc-head { background: var(--ol-white); border-bottom: 1px solid var(--ol-rule); }
.jc-head .wrap { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; padding-block: 22px; }
.jc-head .cover { width: 96px; aspect-ratio: 3/4; border-radius: 3px; display: grid; align-content: space-between; padding: 12px; color: #fff; font-size: 10.5px; }
.jc-head h1 { font-family: var(--ol-font-display); font-size: 1.75rem; font-weight: 600; color: var(--j-primary-ink); margin: 0 0 6px; }
.jc-head .sub { font-size: 14px; color: var(--ol-ink-muted); margin: 0 0 12px; }
.jc-head .bds { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px) {
  .jc-head .wrap { grid-template-columns: 72px 1fr; }
  .jc-head .cover { width: 72px; }

  /* THE BUTTON NEEDS ITS OWN ROW, ACROSS BOTH COLUMNS.

     The masthead is a three-column grid — cover, details, button — and this
     query drops it to two. The button, being the third child, then wrapped
     onto row two of the FIRST column: a 72-pixel track holding a label that
     needs 181 and cannot wrap, because it carries white-space:nowrap. The
     text ran straight out of its own background, which is why it looked like
     a button painted in two colours.

     Spanning both columns gives it the row it needs, and justify-self keeps
     it the width of its words rather than stretching it across the page.

     CENTRED, not left-aligned. On its own row beneath the cover and the
     title it has no column edge to line up with, so flush left read as
     though it had fallen out of the layout. */
  .jc-head .j-submit { grid-column: 1 / -1; justify-self: center; }
}

/* Parks under the nav, not behind it: this sits at z-index 90 against the
   nav's 100, so sticking at top:0 hid it. */
.jc-tabs { background: var(--ol-white); border-bottom: 1px solid var(--ol-rule); position: sticky; top: calc(var(--ol-header-h) + 1px); z-index: 90; }
.jc-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; }
.jc-tabs a { padding: 15px 18px; font-size: 14px; font-weight: 500; color: var(--ol-ink-muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.jc-tabs a.on, .jc-tabs a:hover { color: var(--j-primary-ink); border-bottom-color: var(--j-accent); }

.jc-body { display: grid; grid-template-columns: 1fr 300px; gap: var(--ol-l); padding-block: var(--ol-l); align-items: start; }
.jc-panel { background: var(--ol-white); border: 1px solid var(--ol-rule); border-radius: var(--ol-radius); padding: 22px; margin-bottom: 16px; }
/* h3 as well as h4: the two panel headings were h4 under an h2, which
   skips a level and makes a screen reader announce a subsection that has no
   section. They are h3 now, and this keeps them looking identical. */
.jc-panel h3, .jc-panel h4 { font-family: var(--ol-font-display); font-size: 1.1rem; color: var(--j-primary-ink); margin: 0 0 14px; }
.jc-kv { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--ol-rule); }
.jc-kv:last-child { border-bottom: 0; }
.jc-kv b { color: var(--j-primary-ink); font-family: var(--ol-font-mono); }
.jc-side { position: sticky; top: calc(var(--ol-header-h) + 16px); }
@media (max-width: 1000px) { .jc-body { grid-template-columns: 1fr; } .jc-side { position: static; } }

.jc-art { background: var(--ol-white); border: 1px solid var(--ol-rule); border-radius: var(--ol-radius); padding: 20px; margin-bottom: 14px; display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.jc-art .t { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--j-accent-text); }
.jc-art h3 { font-family: var(--ol-font-display); font-size: 1.15rem; font-weight: 600; margin: 7px 0 6px; line-height: 1.32; }
.jc-art h3 a { color: var(--j-primary-ink); text-decoration: none; }
.jc-art .au { font-size: 13px; color: var(--ol-ink-muted); margin: 0 0 8px; }
.jc-art .d { font-family: var(--ol-font-mono); font-size: 11.5px; color: var(--ol-ink-faint); }
.jc-art .side { display: grid; gap: 7px; align-content: start; }
.jc-art .side a { font-size: 12.5px; font-weight: 600; text-align: center; padding: 7px 16px; border: 1px solid var(--ol-btn-edge); border-radius: var(--ol-radius-xs); text-decoration: none; color: var(--j-primary-ink); }
.jc-art .side a:hover { background: var(--j-accent-tint); border-color: var(--j-accent); }
@media (max-width: 640px) { .jc-art { grid-template-columns: 1fr; } .jc-art .side { grid-auto-flow: column; justify-content: start; } }

/* --- hosting plans --------------------------------------------------------
   Three tiers side by side, collapsing to one column on a phone. The
   highlighted tier is lifted rather than recoloured: the palette already does
   enough work, and a second accent would fight the first. */
.pl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start; margin: 28px 0 18px;
}
.pl-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--ol-white); border: 1px solid var(--ol-rule);
  border-radius: var(--ol-radius); padding: 26px 24px;
}
.pl-card.on {
  border-color: var(--ol-gold-500); box-shadow: 0 14px 38px rgba(16, 26, 43, .10);
  transform: translateY(-6px);
}
@media (prefers-reduced-motion: reduce) { .pl-card.on { transform: none; } }

.pl-badge {
  position: absolute; top: -11px; left: 24px;
  background: var(--ol-gold-500); color: #14233A;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.pl-card h2 {
  font-family: var(--ol-font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--ol-navy-800); margin: 0;
}
.pl-tag { font-size: 13.5px; color: var(--ol-ink-muted); margin: -8px 0 0; line-height: 1.5; }

.pl-price { display: flex; align-items: baseline; gap: 8px; }
.pl-price b {
  font-family: var(--ol-font-display); font-size: 2.1rem; color: var(--ol-navy-800);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.pl-price span { font-size: 13px; color: var(--ol-ink-muted); }
.pl-annual { font-size: 13px; color: var(--ol-ink-muted); margin: -8px 0 0; }
.pl-annual b { color: var(--ol-gold-700, #866528); font-weight: 600; }

.pl-limits { display: grid; gap: 0; border-top: 1px solid var(--ol-rule); }
.pl-limits > div {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--ol-rule); font-size: 13.5px;
}
.pl-limits span { color: var(--ol-ink-muted); }
.pl-limits b { color: var(--ol-navy-800); font-weight: 600; font-variant-numeric: tabular-nums; }

.pl-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.pl-feat li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; color: var(--ol-navy-800); }
.pl-feat li.off { color: var(--ol-ink-faint); }
.pl-feat .tick { color: var(--ol-gold-700, #866528); font-weight: 700; }
.pl-feat li.off .tick { color: var(--ol-ink-faint); font-weight: 400; }

.pl-note { font-size: 13px; color: var(--ol-ink-muted); max-width: 70ch; }

/* align-items:start, and it is load-bearing.

   Without it the grid stretches both cells in a row to the height of the
   taller one — and .e-field is itself a grid, so the extra height is handed
   to its rows and the INPUT grows. On the contact page the email field has a
   hint line under it and the name field does not, so the name box rendered
   noticeably taller than the box beside it. The fields were aligned at the
   top all along; it was the boxes that were different sizes. */
.pl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
.pl-form .pl-wide { grid-column: 1 / -1; }
.pl-form input, .pl-form select, .pl-form textarea {
  font: inherit; font-size: 14px; padding: 10px 12px; width: 100%;
  border: 1px solid var(--ol-btn-edge); border-radius: var(--ol-radius-xs);
  background: var(--ol-white); color: var(--ol-ink);
}
.pl-form textarea { line-height: 1.55; resize: vertical; }
.pl-form input:focus, .pl-form select:focus, .pl-form textarea:focus {
  outline: 2px solid var(--ol-gold-500); outline-offset: 1px; border-color: var(--ol-gold-500);
}
.pl-check { display: flex; align-items: center; gap: 10px; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ol-ink); }
.pl-check input { width: auto; }

@media (max-width: 920px) { .pl-grid { grid-template-columns: 1fr; } .pl-card.on { transform: none; } }
@media (max-width: 620px) { .pl-form { grid-template-columns: 1fr; } }

/* --- journal sub-pages ---------------------------------------------------- */
.jc-blank { color: var(--ol-ink-muted); font-size: 14px; line-height: 1.6; }
.jc-sect {
  font-family: var(--ol-font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--ol-navy-800); margin: var(--ol-l) 0 12px;
  padding-bottom: 7px; border-bottom: 1px solid var(--ol-rule);
}
.jc-sect:first-child { margin-top: 0; }

.jc-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.jc-bm {
  display: grid; gap: 2px; padding: 14px 16px;
  border: 1px solid var(--ol-rule); border-radius: var(--ol-radius-xs);
  background: var(--ol-white);
}
.jc-bm b { font-size: 14.5px; color: var(--ol-navy-800); }
.jc-bm .role { font-size: 12.5px; color: var(--j-accent-text, var(--ol-gold-700)); font-weight: 600; }
.jc-bm .aff { font-size: 12.5px; color: var(--ol-ink-muted); }
.jc-bm .orcid { font-family: var(--ol-font-mono); font-size: 11px; color: var(--ol-ink-faint); text-decoration: none; margin-top: 3px; }
.jc-bm .orcid:hover { color: var(--ol-gold-700); }
@media (max-width: 680px) { .jc-board { grid-template-columns: 1fr; } }

.jc-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.jc-toc li { display: grid; gap: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--ol-rule); }
.jc-toc li:last-child { border-bottom: 0; padding-bottom: 0; }
.jc-toc a { font-size: 14.5px; font-weight: 600; color: var(--ol-navy-800); text-decoration: none; }
.jc-toc a:hover { color: var(--j-accent-text, var(--ol-gold-700)); }
.jc-toc .by { font-size: 12.5px; color: var(--ol-ink-muted); }
.jc-toc .pp { font-family: var(--ol-font-mono); font-size: 11px; color: var(--ol-ink-faint); }

.jc-steps { margin: 0; padding-left: 20px; display: grid; gap: 9px; font-size: 14px; line-height: 1.6; }
.jc-steps b { color: var(--ol-navy-800); }

/* ONE SUBMIT BUTTON PER PAGE.

   A journal's masthead carries its own Submit button, and it is the better of
   the two because it preselects the journal; the one in the site bar sends
   the author to a page that asks them to choose again. Two identical gold
   buttons a hundred pixels apart reads as a mistake, and on a phone they
   stack almost on top of each other.

   Done in CSS rather than by testing the URL in the layout, which was the
   first attempt: that works in the server-rendered HTML and then comes back
   when the interactive circuit re-renders the layout with a different idea of
   the current address. A rule that keys off what is actually on the page
   cannot disagree with itself between the two renders. */
body:has(.j-submit) .c-nav-submit { display: none; }
