/* IJOMIS theme for OJS 3.5
 * One stylesheet for the theme's own templates and OJS's core frontend markup.
 * Design plan: ../../DESIGN.md
 */

/* ── Fonts (self-hosted, variable) ─────────────────────────────────────── */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-standard-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("../fonts/newsreader-latin-ext-standard-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/instrument-sans-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --pine: #0C241D;
  --surgical: #17382E;
  --teal: #0A7F65;
  --teal-deep: #086A54;
  --fibre: #7FDCC0;
  --mist: #EAF2EE;
  --paper: #F8FBF9;
  --steel: #9AAEA6;
  --ink: #13221D;
  --ink-2: #3D524A;         /* secondary text on paper, 7.6:1 */
  --line: #D3E0DA;          /* hairlines on paper */
  --line-dark: rgba(154, 174, 166, .28);

  /* Text on pine */
  --on-dark: #E6F3EE;
  --on-dark-strong: #F2FAF6;
  --on-dark-2: #C9DDD5;
  --on-dark-3: #CFE3DB;
  --on-dark-line: rgba(230, 243, 238, .36);
  /* States and fields */
  --selection: #BFEBDC;
  --field-line: #B9CBC3;
  --focus-halo: rgba(10, 127, 101, .18);
  --danger: #A33A2B;
  --warn: #B7791F;
  --warn-bg: #FBF4E6;
  /* Depth: one shadow family, tinted with pine, used only for raised things */
  --shadow-raised: 0 18px 40px -18px rgba(12, 36, 29, .35);
  --shadow-object: 0 1px 0 var(--line), 0 24px 48px -28px rgba(12, 36, 29, .55);
  /* Hero light */
  --glow-teal: rgba(19, 104, 80, .38);
  --glow-pine: rgba(23, 56, 46, .9);
  --glow-fibre: rgba(127, 220, 192, .22);

  /* Spacing: 8px grid with a 24px rhythm (eLife's baseline approach) */
  --s-1: .25rem;  /* 4  */
  --s-2: .5rem;   /* 8  */
  --s-3: .75rem;  /* 12 */
  --s-4: 1rem;    /* 16 */
  --s-5: 1.5rem;  /* 24 */
  --s-6: 2rem;    /* 32 */
  --s-7: 3rem;    /* 48 */
  --s-8: 4.5rem;  /* 72 */
  --s-9: 6rem;    /* 96 */

  --radius: 3px;
  --radius-frame: 6px;
  --heading-weight: 420;  /* one weight for every heading */
  /* Motion: ease-out only; micro 160ms, panels 240ms */
  --ease: cubic-bezier(.23, 1, .32, 1);
  --t-micro: 160ms;
  --t-panel: 240ms;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 1.25 scale on a 17px base */
  --fs-0: .8rem;    /* 13.6 */
  --fs-1: 1rem;     /* 17   */
  --fs-2: 1.25rem;  /* 21.3 */
  --fs-3: 1.5625rem;/* 26.6 */
  --fs-4: 1.953rem; /* 33.2 */
  --fs-5: 2.441rem; /* 41.5 */
  --fs-6: 3.052rem; /* 51.9 */
  --fs-7: 3.815rem; /* 64.8 */

  --wrap: 77.5rem;   /* 1240px at 16px root; content scales with root */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body.ij {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-1)/1.55 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ij img, .ij svg { max-width: 100%; height: auto; }
:where(.ij) a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
:where(.ij) a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
.ij :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.ij ::selection { background: var(--selection); color: var(--pine); }
:where(.ij) :is(h1, h2, h3, h4) { font-family: var(--serif); font-weight: var(--heading-weight); line-height: 1.15; letter-spacing: -.01em; color: var(--surgical); margin: 0 0 .6em; text-wrap: balance; }
:where(.ij) p { margin: 0 0 1em; text-wrap: pretty; }
.ij-visually-hidden, .pkp_screen_reader {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ij-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* skip links (core template) */
.ij .cmp_skip_to_content a {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: 100; padding: var(--s-3) var(--s-4); background: var(--pine); color: #fff; font-weight: 600;
  border-radius: var(--radius); transform: translateY(-200%); transition: transform var(--t-micro) var(--ease);
}
.ij .cmp_skip_to_content a:focus { transform: none; }

/* ── Buttons & links ────────────────────────────────────────────────────── */
.ij-button, .ij .cmp_button, .ij .pkp_button, .ij button.submit, .ij .buttons button, .ij input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 2.75rem; padding: var(--s-3) var(--s-5);
  font: 600 .94rem/1.2 var(--sans); font-stretch: 92%; letter-spacing: .005em;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 60ms var(--ease);
}
.ij-button:active, .ij .cmp_button:active { transform: scale(.97); }
.ij-button--primary, .ij .cmp_button, .ij button.submit, .ij .buttons button.submit, .ij input[type=submit] { background: var(--teal); color: #fff; }
.ij-button--primary:hover, .ij .cmp_button:hover, .ij button.submit:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }
.ij-button--light { background: var(--paper); color: var(--pine); }
.ij-button--light:hover { background: #fff; color: var(--pine); text-decoration: none; }
.ij-button--ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.ij-button--ghost:hover { color: #fff; border-color: #fff; text-decoration: none; }
.ij .ij-hero :focus-visible, .ij .ij-footer :focus-visible { outline-color: var(--fibre); }

.ij-link {
  font: 600 .9rem/1.3 var(--sans); color: var(--teal); text-decoration: none;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em;
}
.ij-link:hover { text-decoration-thickness: 2px; color: var(--teal-deep); }

.ij-kicker { font: 600 .8rem/1.3 var(--sans); color: var(--ink-2); margin: 0 0 var(--s-4); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.ij-header-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.ij-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.ij-header.is-stuck { border-bottom-color: var(--line); }
.ij-header__inner {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; min-height: var(--header-h);
  display: flex; align-items: center; gap: var(--s-6);
}
.ij-brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--surgical); flex: none; }
.ij .ij-brand:hover { text-decoration: none; color: var(--surgical); }
.ij-brand__mark { width: 2.35rem; height: 2.35rem; color: var(--teal); }

.ij-brand__text { display: grid; line-height: 1.05; }
.ij-brand__acronym { font: 600 1.32rem/1 var(--serif); letter-spacing: .01em; }
.ij-brand__name { font: 500 .7rem/1.25 var(--sans); font-stretch: 85%; color: var(--ink-2); max-width: 17rem; margin-top: .2rem; }

.ij-nav { display: flex; align-items: center; gap: var(--s-5); flex: 1; }
.ij-menu, .ij-user-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.ij-menu { gap: var(--s-1); margin-inline-start: auto; }
.ij-menu > li { position: relative; display: flex; align-items: center; }
.ij-menu > li > a, .ij-user-menu > li > a {
  display: block; white-space: nowrap; padding: var(--s-3) var(--s-3); font: 500 .94rem/1.2 var(--sans); color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.ij .ij-menu > li > a:hover, .ij .ij-user-menu a:hover { color: var(--teal); text-decoration: none; }
.ij-menu > li.is-current > a, .ij-menu > li > a[aria-current] { color: var(--teal); }
.ij-sub-toggle {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-inline-start: -.45rem; padding: 0;
  background: none; border: 0; color: var(--ink-2); cursor: pointer; border-radius: var(--radius);
}
.ij-sub-toggle svg { width: .8rem; transition: transform .2s var(--ease); }
.ij-menu > li.is-open .ij-sub-toggle svg { transform: rotate(180deg); }
.ij-menu > li > ul {
  list-style: none; margin: 0; padding: var(--s-2); min-width: 15rem;
  position: absolute; top: calc(100% + .35rem); left: 0; z-index: 10;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow-raised);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transform-origin: top left;
  transition: opacity var(--t-micro) var(--ease), transform var(--t-micro) var(--ease), visibility 0s linear var(--t-micro);
}
.ij-menu > li.is-open > ul, .ij-menu > li:hover > ul {
  opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-micro) var(--ease), transform var(--t-micro) var(--ease);
}
.ij-menu > li > ul a { display: block; padding: var(--s-2) var(--s-3); color: var(--ink); text-decoration: none; font-size: .92rem; border-radius: var(--radius); }
.ij .ij-menu > li > ul a:hover { background: var(--mist); color: var(--surgical); text-decoration: none; }

.ij-nav__tools { display: flex; align-items: center; gap: var(--s-4); }
.ij-search-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); text-decoration: none; font: 500 .94rem/1 var(--sans); padding: var(--s-2); }
.ij-search-link svg { width: 1.1rem; }
.ij .ij-search-link:hover { color: var(--teal); text-decoration: none; }
.ij-search-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ij-user-menu > li { position: relative; }
.ij-user-menu > li > ul { display: none; }
.ij-header__cta { min-height: 2.5rem; padding: var(--s-2) var(--s-4); font-size: .88rem; }
.ij-nav-toggle { display: none; }



/* Mobile navigation */
@media (max-width: 1060px) {
  .ij-nav-toggle {
    display: inline-flex; align-items: center; gap: var(--s-3); margin-inline-start: auto;
    min-height: 2.75rem; padding: var(--s-2) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius);
    background: transparent; color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; position: relative; z-index: 3;
  }
  .ij-nav-toggle__icon { display: grid; gap: 5px; width: 18px; }
  .ij-nav-toggle__icon span { display: block; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .ij-nav-open .ij-nav-toggle__icon span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .ij-nav-open .ij-nav-toggle__icon span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .ij-nav-open .ij-nav-toggle { color: var(--on-dark) !important; border-color: var(--on-dark-line) !important; }

  .ij-nav {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) var(--s-6); overflow-y: auto;
    background: var(--pine); color: var(--on-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .ij-nav-open .ij-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .ij-nav-open body { overflow: hidden; }
  .ij-nav-open .ij-brand { color: var(--on-dark); position: relative; z-index: 3; }
  .ij-nav-open .ij-brand__mark { color: var(--fibre); }
  .ij-nav-open .ij-brand__name { color: var(--steel); }
  .ij-menu { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .ij-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
  .ij-menu > li > a { flex: 1; padding: var(--s-4) 0; font: 500 var(--fs-3)/1.2 var(--serif); color: var(--on-dark); }
  .ij .ij-menu > li > a:hover { color: var(--fibre); }
  .ij-sub-toggle { width: 2.75rem; height: 2.75rem; color: var(--steel); margin: 0; }
  .ij-menu > li > ul {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 var(--s-4); background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .ij-menu > li.is-open > ul { display: block; }
  .ij-menu > li:hover > ul { display: none; }
  .ij-menu > li.is-open:hover > ul { display: block; }
  .ij-menu > li > ul a { color: var(--on-dark-3); font-size: 1rem; padding: var(--s-2) 0; }
  .ij .ij-menu > li > ul a:hover { background: none; color: #fff; }
  .ij-nav__tools { flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: var(--s-6); }
  .ij-search-link, .ij-user-menu > li > a { color: var(--on-dark); padding-inline: 0; }
  .ij-search-link span { position: static; width: auto; height: auto; clip: auto; }
  .ij-user-menu { flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
  .ij-header__cta { background: var(--paper); color: var(--pine); justify-content: center; margin-top: var(--s-2); }
}
@media (min-width: 1061px) and (max-width: 1240px) {
  .ij-brand__name { display: none; }
}
@media (max-width: 560px) {
  .ij-brand__name { display: none; }
  .ij-nav-toggle { padding-inline: var(--s-3); }
  .ij-nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ij-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 clamp(var(--s-2), 1.4vw, var(--s-5));
  border-radius: var(--radius-frame);
  min-height: min(calc(100svh - var(--header-h) - var(--s-4)), 52rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(var(--s-7), 9vh, var(--s-9)) 0 0;
  background:
    radial-gradient(60rem 40rem at 72% 42%, var(--glow-teal), transparent 62%),
    radial-gradient(40rem 30rem at 10% 110%, var(--glow-pine), transparent 70%),
    var(--pine);
  color: var(--on-dark);
}
.ij-hero::after {
  /* a faint instrument-panel grain so flat colour reads as material */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.7 0 0 0 0 0.65 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ij-hero__scene { position: absolute; inset: 0; z-index: -1; }
.ij-hero__scene canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 92%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 72%, transparent 92%);
}
.ij-hero__scene.is-live canvas { opacity: 1; }
.ij-hero__still {
  position: absolute; width: min(56vw, 46rem); right: -4vw; top: 50%; translate: 0 -48%;
  transition: opacity 1.2s var(--ease);
}
.ij-hero__scene.is-live .ij-hero__still { opacity: 0; }
.ij-hero__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; }
.ij-hero__copy { max-width: 40rem; padding-bottom: clamp(var(--s-7), 7vh, var(--s-8)); }
.ij .ij-hero__title {
  color: var(--on-dark-strong); font-size: clamp(2.6rem, 6.2vw, var(--fs-7));
  line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "opsz" 72; margin-bottom: var(--s-5);
}
.ij-hero__dek { max-width: 32rem; font: 400 var(--fs-2)/1.5 var(--serif); color: var(--on-dark-2); margin-bottom: var(--s-6); }
.ij-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.ij-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0; border-top: 1px solid var(--line-dark);
}
.ij-facts__item { padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.ij-facts__item + .ij-facts__item { padding-left: var(--s-5); border-left: 1px solid var(--line-dark); }
.ij-facts dt { font: 500 .8rem/1.3 var(--sans); color: var(--steel); margin-bottom: var(--s-2); }
.ij-facts dd { margin: 0; font: 400 1.06rem/1.35 var(--serif); color: var(--on-dark); font-variant-numeric: lining-nums tabular-nums; }
.ij-facts a { color: var(--fibre); }
@media (max-width: 720px) {
  /* The port becomes a stage above the headline instead of a backdrop behind it. */
  .ij-hero { min-height: auto; padding-top: 15.5rem; }
  .ij-hero__scene { inset: 0 0 auto 0; height: 17rem; }
  .ij-hero__still { width: 18rem; right: 50%; translate: 50% -50%; }
  .ij-facts { grid-template-columns: 1fr 1fr; }
  .ij-facts__item, .ij-facts__item + .ij-facts__item { padding: var(--s-4) var(--s-3) var(--s-4) 0; border-left: 0; }
  .ij-facts__item:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid var(--line-dark); }
  .ij-facts__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ── Home sections ──────────────────────────────────────────────────────── */
.ij-home > section:not(.ij-hero) { padding-block: clamp(var(--s-7), 8vw, var(--s-9)); }
.ij-home > section + section:not(.ij-path):not(.ij-hero) { border-top: 1px solid var(--line); }
.ij-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: clamp(var(--s-6), 4vw, var(--s-7)); }
.ij .ij-section-head h2 { font-size: clamp(var(--fs-4), 4vw, var(--fs-5)); margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 48; }

.ij-empty { padding: var(--s-7); background: var(--mist); border-radius: 4px; display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between; }
.ij-empty p { margin: 0; max-width: 38rem; font: 400 var(--fs-2)/1.45 var(--serif); color: var(--surgical); }

/* Scope: an asymmetric index. Heading column on the left, ruled rows on the right. */
.ij-scope { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) clamp(var(--s-6), 6vw, var(--s-9)); align-items: start; }
.ij-scope .ij-section-head { flex-direction: column; align-items: flex-start; gap: var(--s-4); position: sticky; top: calc(var(--header-h) + var(--s-5)); margin: 0; }
.ij-scope__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--surgical); }
.ij-scope__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.ij .ij-scope__item h3 { font-size: var(--fs-3); margin: 0; }
.ij-scope__item p { margin: 0; color: var(--ink-2); padding-top: .3em; }
@media (max-width: 860px) {
  .ij-scope { grid-template-columns: 1fr; }
  .ij-scope .ij-section-head { position: static; }
  .ij-scope__item { grid-template-columns: 1fr; }
}

/* Submission path: the one real sequence on the page */
.ij-path { background: var(--mist); }
/* teal on mist is 4.35:1; the deeper teal keeps links on mist above 4.5:1 */
.ij-path .ij-link, .ij-empty .ij-link { color: var(--teal-deep); }
/* Home: one primary action per zone. The header's submit button waits until
   the hero (which has its own) has scrolled away. */
.ij-is-home:not(.ij-past-hero) .ij-header__cta { opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden; }
.ij-header__cta { transition: opacity var(--t-panel) var(--ease), transform var(--t-panel) var(--ease), visibility 0s; }
@media (max-width: 1060px) { .ij-is-home:not(.ij-past-hero) .ij-header__cta { opacity: 1; transform: none; pointer-events: auto; visibility: visible; } }
.ij-path__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ij-path__step { counter-increment: step; position: relative; padding: var(--s-6) var(--s-6) 0 0; border-top: 1px solid var(--surgical); }
.ij-path__step::before {
  content: counter(step); position: absolute; top: -.85rem; left: 0;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--mist); border: 1px solid var(--surgical); color: var(--surgical); font: 600 .8rem/1 var(--sans);
}
.ij .ij-path__step h3 { font-size: var(--fs-3); margin-bottom: var(--s-2); }
.ij-path__step p { color: var(--ink-2); margin: 0; font-size: .96rem; }
@media (max-width: 900px) {
  .ij-path__steps { grid-template-columns: 1fr; gap: 0; }
  .ij-path__step { border-top: 0; border-left: 1px solid var(--surgical); padding: 0 0 var(--s-6) var(--s-6); margin-left: var(--s-3); }
  .ij-path__step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .ij-path__step::before { top: -.1rem; left: -.86rem; }
}

/* People + news */
.ij-people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.ij-lead__people { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-5); }
.ij-person { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: end; }
.ij-person__photo { width: 7rem; height: 8.75rem; object-fit: cover; border-radius: 2px; filter: saturate(.85) contrast(1.02); }
.ij-person__name { font: 500 var(--fs-3)/1.15 var(--serif); color: var(--surgical); margin: 0 0 var(--s-1); }
.ij-person__aff { color: var(--ink-2); margin: 0 0 var(--s-2); font-size: .95rem; max-width: 26rem; }
.ij-person__orcid { font: 600 .82rem/1 var(--sans); }
@media (max-width: 860px) { .ij-people { grid-template-columns: 1fr; } }
/* Leadership alone (no announcements yet): one wider block, larger portrait */
.ij-people:has(> :only-child) { grid-template-columns: 1fr; }
.ij-people:has(> :only-child) .ij-person__photo { width: 9rem; height: 11.25rem; }

/* announcements (core markup) */
.ij .cmp_announcements, .ij .obj_announcement_summary { border: 0; padding: 0; margin: 0; }
.ij .cmp_announcements > .obj_announcement_summary, .ij .cmp_announcements .more > .obj_announcement_summary { padding: var(--s-4) 0 var(--s-5); border-top: 1px solid var(--line); }
.ij .obj_announcement_summary h2, .ij .obj_announcement_summary h3, .ij .obj_announcement_summary h4 { font-size: var(--fs-2); margin: 0 0 var(--s-2); }
.ij .obj_announcement_summary h2 a, .ij .obj_announcement_summary h3 a, .ij .obj_announcement_summary h4 a { color: var(--surgical); text-decoration: none; }
.ij .obj_announcement_summary .date { font: 500 .8rem/1.3 var(--sans); color: var(--ink-2); margin-bottom: var(--s-2); display: block; }
.ij .obj_announcement_summary .summary p { color: var(--ink-2); margin-bottom: var(--s-2); }
.ij .read_more { font: 600 .9rem/1.3 var(--sans); }

/* ── Table of contents ──────────────────────────────────────────────────── */
.ij-toc { display: grid; grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ij-toc__issue { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.ij-cover { display: block; aspect-ratio: 210 / 297; border-radius: 2px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow-object); transition: transform var(--t-panel) var(--ease); }
.ij-cover:hover { transform: translateY(-3px); }
.ij-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ij-cover__type {
  height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: var(--s-4) var(--s-4) var(--s-4);
  background: radial-gradient(120% 70% at 85% 30%, var(--glow-fibre), transparent 60%), var(--pine); color: var(--on-dark);
}
.ij-cover__acronym { font: 500 1.6rem/1 var(--serif); letter-spacing: .02em; }
.ij-cover__vol { align-self: end; font: 400 1.05rem/1.3 var(--serif); color: var(--on-dark-3); }
.ij-cover__year { font: 600 .8rem/1 var(--sans); color: var(--steel); margin-top: var(--s-2); border-top: 1px solid var(--line-dark); padding-top: var(--s-3); }
.ij-toc__meta { margin-top: var(--s-5); }
.ij-toc__ident { font: 500 1.05rem/1.35 var(--serif); color: var(--surgical); margin: 0 0 var(--s-1); }
.ij-toc__date { font-size: .88rem; color: var(--ink-2); margin: 0 0 var(--s-3); font-variant-numeric: tabular-nums; }
.ij-doi { font-size: .85rem; margin: 0 0 var(--s-3); overflow-wrap: anywhere; }
.ij-doi span { font-weight: 600; color: var(--ink-2); margin-right: var(--s-1); }
.ij-toc__desc { font-size: .95rem; color: var(--ink-2); }

.ij-toc__section + .ij-toc__section { margin-top: var(--s-7); }
.ij .ij-toc .ij-toc__section-title { font: var(--heading-weight) var(--fs-2)/1.25 var(--serif); color: var(--surgical); letter-spacing: -.005em; margin: 0 0 var(--s-1); padding-bottom: var(--s-3); border-bottom: 1px solid var(--surgical); }
.ij-articles { list-style: none; margin: 0; padding: 0; }
.ij-articles > li { border-bottom: 1px solid var(--line); }
.ij-article { padding: var(--s-5) 0 1.3rem; }
.ij .ij-article__title { max-width: 38em; font-size: var(--fs-2); line-height: 1.25; margin: 0 0 var(--s-2); letter-spacing: -.005em; }
.ij-article__title a { color: var(--surgical); text-decoration: none; }
.ij .ij-article__title a:hover { color: var(--teal-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ij-article__subtitle { display: block; font-size: .85em; color: var(--ink-2); margin-top: .2rem; }
.ij-article__authors { color: var(--ink-2); margin: 0 0 var(--s-3); font-size: .95rem; }
.ij-article__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.ij-article__meta { margin: 0; display: flex; gap: var(--s-4); font-size: .84rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Inside interior pages (issue page, search) the generic .page text rules
   would otherwise indent the list and enlarge titles; keep the TOC identical
   to the home page's. */
.ij .page .ij-articles { padding: 0; margin: 0; }
.ij .page .ij-articles > li { margin: 0; }
.ij .page .ij-article__title { font-size: var(--fs-2); line-height: 1.25; margin: 0 0 var(--s-2); }
.ij .page .ij-article__authors { font: 400 .95rem/1.5 var(--sans); color: var(--ink-2); margin: 0 0 var(--s-3); }
.ij .page .ij-article__meta, .ij .page .ij-article__meta li { font: 400 .84rem/1.4 var(--sans); margin: 0; }
.ij .page .ij-galleys { padding: 0; margin: 0; }
.ij .page .ij-galleys li { margin: 0; }
.ij .page .ij-toc__date, .ij .page .ij-doi { font: 400 .9rem/1.5 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ij .page .ij-doi span { font-weight: 600; color: var(--surgical); }
/* The issue page's h1 already names the issue. */
.ij .page_issue .ij-toc__ident { display: none; }

.ij-galleys, .ij .galleys_links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ij .obj_galley_link {
  display: inline-flex; align-items: center; gap: var(--s-2); padding: .32rem var(--s-3) var(--s-1) var(--s-2);
  font: 600 .8rem/1.2 var(--sans); color: var(--surgical); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.ij .obj_galley_link::before {
  content: ""; width: .85rem; height: 1rem; flex: none;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M2 .75h6.5L12.25 4.5V15.25H2Z' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8.25 .75V4.75h4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M2 .75h6.5L12.25 4.5V15.25H2Z' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8.25 .75V4.75h4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ij .obj_galley_link:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.ij .obj_galley_link.restricted { color: var(--ink-2); }

.ij-toc--compact .ij-toc__issue { position: static; }
@media (max-width: 820px) {
  .ij-toc { grid-template-columns: 1fr; }
  .ij-toc__issue { position: static; display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-5); align-items: start; }
  .ij-toc__meta { margin-top: 0; }
}

/* ── Interior pages: structure ──────────────────────────────────────────── */
.ij .pkp_structure_content { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.ij-is-home .pkp_structure_content { width: 100%; padding: 0; }
.ij-is-home .ij-home { padding-top: var(--s-2); }
.ij .pkp_structure_content.has_sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 960px) { .ij .pkp_structure_content.has_sidebar { grid-template-columns: 1fr; } }
.ij .page > h1, .ij .page h1:first-child, .ij .pkp_structure_main > div > h1 {
  font-size: clamp(var(--fs-4), 5vw, var(--fs-6)); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 var(--s-5); font-variation-settings: "opsz" 60;
}
.ij .page, .ij-prose { max-width: 46rem; }

/* ── Reading pages: text column + rail ─────────────────────────────────────
   About, policies and other text pages: a 46rem reading column and, on the
   right, the other pages of the same menu group plus an "on this page" list. */
.ij .pkp_structure_content.ij-has-rail {
  display: grid; grid-template-columns: minmax(0, 46rem) minmax(13rem, 16rem);
  justify-content: space-between; gap: var(--s-7) clamp(var(--s-7), 7vw, var(--s-9)); align-items: start;
}
.ij-rail { position: sticky; top: calc(var(--header-h) + var(--s-6)); display: grid; gap: var(--s-6); padding-top: calc(var(--s-6) + 1.4em); }
.ij .ij-rail__title { margin: 0 0 var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--surgical); font: 600 .84rem/1.3 var(--sans); color: var(--surgical); letter-spacing: 0; }
.ij-rail ul { list-style: none; margin: 0; padding: 0; }
.ij-rail li { margin: 0; }
.ij-rail a {
  display: block; padding: var(--s-2) 0 var(--s-2) var(--s-4); margin-left: -1px; border-left: 2px solid transparent;
  font: 400 .92rem/1.35 var(--sans); color: var(--ink-2); text-decoration: none;
}
.ij-rail a:hover { color: var(--teal-deep); }
.ij-rail a[aria-current] { color: var(--surgical); font-weight: 600; border-left-color: var(--teal); }
.ij-rail ul { border-left: 1px solid var(--line); }
/* Index lists in page content (research areas, policy library, reporting
   guidelines): ruled rows, the name on the left, what it covers on the right. */
.ij .page ul.ij-index, .ij .page ol.ij-index { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-7); border-top: 1px solid var(--surgical); }
.ij .page .ij-index > li {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-2) var(--s-6);
  margin: 0; padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.ij .page .ij-index h3 { margin: 0; font-size: var(--fs-2); line-height: 1.3; }
.ij .page .ij-index h3 a { color: var(--surgical); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ij .page .ij-index h3 a:hover { color: var(--teal-deep); text-decoration-color: currentColor; }
.ij .page .ij-index p { margin: 0 0 var(--s-2); font: 400 .98rem/1.6 var(--sans); color: var(--ink-2); }
.ij .page .ij-index p:last-child { margin-bottom: 0; }
.ij .page .ij-index__meta, .ij .page p.ij-index__meta { margin: var(--s-1) 0 0; font: 500 .84rem/1.4 var(--sans); color: var(--teal-deep); }
.ij .page h2 + .ij-index__meta { margin-top: 0; }
.ij .page .ij-index__meta + h3 { margin-top: var(--s-1); }
/* The one real sequence in page content: the submission workflow. */
.ij .page ol.ij-index--steps { counter-reset: ij-step; }
.ij .page .ij-index--steps > li { counter-increment: ij-step; grid-template-columns: 2.5rem minmax(0, 2fr) minmax(0, 3fr); }
.ij .page .ij-index--steps > li::before {
  content: counter(ij-step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--surgical);
  border-radius: 50%; font: 600 .8rem/1 var(--sans); color: var(--surgical); font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .ij .page .ij-index > li { grid-template-columns: 1fr; }
  .ij .page .ij-index--steps > li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .ij .page .ij-index--steps > li > div:last-child { grid-column: 2; }
}

/* Submissions: the next step for this visitor, then the reference text. */
.ij .page .ij-action { display: grid; gap: var(--s-4); padding: var(--s-5) var(--s-6); margin: 0 0 var(--s-8); background: var(--mist); border-left: 2px solid var(--teal); border-radius: 0 3px 3px 0; }
.ij .page .ij-action p { margin: 0; max-width: 36rem; font: 400 1.02rem/1.55 var(--sans); color: var(--surgical); }
.ij-action__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.ij .page .ij-action .ij-link { color: var(--teal-deep); }
.ij .page_submissions > section { margin-top: var(--s-8); }
.ij .page_submissions > section > h2:first-child { margin-top: 0; padding-top: var(--s-5); border-top: 1px solid var(--surgical); }
/* Checklist: an outline box per point (a list to work through, not a form). */
.ij .page ul.ij-checklist { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-6); }
.ij .page .ij-checklist li { position: relative; padding: var(--s-3) 0 var(--s-3) var(--s-6); margin: 0; border-bottom: 1px solid var(--line); }
.ij .page .ij-checklist li::before { content: ""; position: absolute; left: 0; top: calc(var(--s-3) + .3em); width: .95rem; height: .95rem; border: 1.5px solid var(--teal); border-radius: 2px; }

/* Contact: who to write to, as labelled rows. */
.ij .page .ij-contact { margin: 0 0 var(--s-8); border-top: 1px solid var(--surgical); }
.ij .page .ij-contact__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.ij .page .ij-contact dt { font: 500 .92rem/1.5 var(--sans); color: var(--ink-2); padding-top: .2em; }
.ij .page .ij-contact dd { margin: 0; }
.ij .page .ij-contact dd p, .ij .page .ij-contact address { margin: 0 0 var(--s-1); font: 400 1rem/1.55 var(--sans); font-style: normal; color: var(--ink); }
.ij .page .ij-contact .ij-contact__name { font: 420 var(--fs-2)/1.3 var(--serif); color: var(--surgical); }
.ij .page .ij-contact__email { color: var(--teal-deep); font-weight: 500; }
@media (max-width: 640px) { .ij .page .ij-contact__row { grid-template-columns: 1fr; } }

/* The page's opening paragraph (class ij-lead in the content) reads as its standfirst. */
.ij .page p.ij-lead { font: 400 var(--fs-2)/1.5 var(--serif); color: var(--ink-2); margin: 0 0 var(--s-7); max-width: 40rem; }
@media (max-width: 1040px) {
  .ij .pkp_structure_content.ij-has-rail { grid-template-columns: 1fr; }
  .ij-rail { position: static; padding-top: var(--s-6); border-top: 1px solid var(--surgical); }
  .ij-rail .ij-onpage { display: none; }
  .ij .ij-rail__title { border-bottom: 0; padding-bottom: 0; }
}

/* ── Editorial board and history ────────────────────────────────────────────
   Same index structure as the home page's research areas: the role name in a
   sticky left column, members on the right, each role opened by a rule. */
.ij .page.ij-board { max-width: none; }
.ij-pagehead { max-width: 46rem; margin-bottom: clamp(var(--s-7), 7vw, var(--s-9)); }
.ij .page.ij-board .ij-pagehead h1 { margin-bottom: var(--s-4); }
.ij .page.ij-board .ij-pagehead__dek { margin: 0; font: 400 var(--fs-2)/1.5 var(--serif); color: var(--ink-2); max-width: 38rem; }
.ij-board__role {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5) clamp(var(--s-6), 6vw, var(--s-9));
  align-items: start; padding: var(--s-6) 0 clamp(var(--s-7), 6vw, var(--s-8)); border-top: 1px solid var(--surgical);
}
.ij .page.ij-board .ij-board__heading, .ij .page.ij-board .ij-board__heading h2 { font-size: var(--fs-3); line-height: 1.2; margin: 0; }
.ij-board__heading { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.ij .page.ij-board .ij-board__heading p { margin: var(--s-3) 0 0; font: 400 .95rem/1.55 var(--sans); color: var(--ink-2); max-width: 22rem; }
.ij .page.ij-board ul { list-style: none; margin: 0; padding: 0; }
.ij .page.ij-board li { margin: 0; }

.ij-board__people { display: grid; gap: var(--s-6); }
.ij .page.ij-board .ij-member__name { margin: 0; font: 420 var(--fs-2)/1.25 var(--serif); color: var(--surgical); }
.ij .page.ij-board .ij-member__aff { margin: var(--s-1) 0 0; font: 400 .95rem/1.5 var(--sans); color: var(--ink-2); }
.ij .page.ij-board .ij-member__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-3) 0 0; font: 500 .84rem/1.4 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ij-member__meta:empty { display: none; }
.ij-member__meta a { color: var(--teal-deep); }
.ij-member__bio { margin-top: var(--s-4); max-width: 34rem; }
.ij .page.ij-board .ij-member__bio p { font: 400 1.02rem/1.65 var(--serif); margin: 0 0 var(--s-3); }

.ij-board__role--lead .ij-member { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-6); align-items: end; }
.ij-board__role--lead .ij-member:not(:has(.ij-member__photo)) { grid-template-columns: 1fr; }
.ij-member__photo { width: 11rem; height: 13.75rem; object-fit: cover; border-radius: 2px; filter: saturate(.85) contrast(1.02); background: var(--mist); }
.ij .page.ij-board .ij-board__role--lead .ij-member__name { font-size: clamp(var(--fs-3), 3vw, var(--fs-4)); line-height: 1.12; letter-spacing: -.012em; }
.ij-board__role--lead .ij-member__body { padding-bottom: var(--s-1); }

/* The role's own rule opens the list; the first row starts level with the heading. */
.ij .page.ij-board .ij-board__list > li:first-child { padding-top: 0; }
.ij .page.ij-board .ij-board__list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.ij .page.ij-board .ij-board__list > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-5);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.ij .page.ij-board .ij-board__list h3 { grid-column: 1; font-size: var(--fs-2); line-height: 1.3; margin: 0; }
.ij .page.ij-board .ij-board__list p { grid-column: 1; margin: 0; font: 400 .98rem/1.55 var(--sans); color: var(--ink-2); max-width: 34rem; }
.ij-board__status { grid-column: 2; grid-row: 1; align-self: baseline; font: 500 .84rem/1.4 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ij-board__role--planned .ij-board__status { color: var(--teal-deep); }

.ij-board__next { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--surgical); }
.ij-board > .ij-prose { margin: 0 0 var(--s-7); }

@media (max-width: 860px) {
  .ij-board__role { grid-template-columns: 1fr; }
  .ij-board__heading { position: static; }
  .ij-board__role--lead .ij-member { grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-5); }
  .ij-member__photo { width: 7.5rem; height: 9.4rem; }
}
@media (max-width: 520px) {
  .ij .page.ij-board .ij-board__list > li { grid-template-columns: 1fr; }
  .ij-board__status { grid-column: 1; grid-row: auto; margin-top: var(--s-1); }
  .ij-board__role--lead .ij-member { grid-template-columns: 1fr; align-items: start; }
}
.ij .page.page_issue_archive, .ij .page.page_issue, .ij .page.page_search, .ij .page_index_journal, .ij .page.page_article { max-width: none; }
.ij .page p, .ij .page li, .ij-prose p, .ij-prose li { font: 400 1.06rem/1.65 var(--serif); }
.ij .page h2 { font-size: var(--fs-4); margin-top: var(--s-6); }
.ij .page h3 { font-size: var(--fs-3); margin-top: 1.8rem; }
.ij .page ul, .ij .page ol { padding-left: var(--s-4); }
.ij .page li { margin-bottom: var(--s-2); }
.ij .page li::marker { color: var(--teal); }
.ij .page blockquote { margin: var(--s-5) 0; padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 2px solid var(--teal); color: var(--surgical); }
.ij .page table { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: .95rem; }
.ij .page th, .ij .page td { text-align: left; padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.ij .page th { font-family: var(--sans); font-weight: 600; color: var(--ink-2); background: var(--mist); }

/* breadcrumbs */
.ij .cmp_breadcrumbs ol { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); font: 500 .84rem/1.4 var(--sans); color: var(--ink-2); }
.ij .cmp_breadcrumbs li { display: flex; gap: var(--s-2); align-items: center; }
.ij .cmp_breadcrumbs .separator { color: var(--steel); }
.ij .cmp_breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.ij .cmp_breadcrumbs a:hover { color: var(--teal); }
.ij .cmp_breadcrumbs .current { color: var(--surgical); }
.ij .cmp_breadcrumbs .current h1 { font: inherit; margin: 0; color: inherit; letter-spacing: 0; }

/* notifications */
.ij .cmp_notification { padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-5); border-left: 3px solid var(--teal); background: var(--mist); border-radius: 0 3px 3px 0; font-size: .95rem; }
.ij .cmp_notification.warning { border-color: var(--warn); background: var(--warn-bg); }

/* pagination */
.ij .cmp_pagination { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-6); font: 500 .9rem/1 var(--sans); }

/* ── Forms (login, registration, search, contact) ───────────────────────── */
.ij .cmp_form, .ij .pkp_form { max-width: 34rem; }
.ij .cmp_form fieldset, .ij .pkp_form fieldset { border: 0; margin: 0 0 var(--s-6); padding: 0; }
.ij .cmp_form legend, .ij .pkp_form legend { font: 500 var(--fs-3)/1.2 var(--serif); color: var(--surgical); margin-bottom: var(--s-4); padding: 0; }
.ij .cmp_form .fields > div, .ij .cmp_form .field, .ij .pkp_form .section { margin-bottom: var(--s-4); }
.ij .cmp_form label, .ij .pkp_form label { display: block; font: 500 .9rem/1.3 var(--sans); color: var(--ink); }
.ij .cmp_form .label { display: block; margin-bottom: var(--s-2); }
.ij .cmp_form .required, .ij .pkp_form .required { color: var(--danger); }
.ij input[type=text], .ij input[type=email], .ij input[type=password], .ij input[type=search], .ij input[type=url], .ij input[type=tel], .ij input[type=number], .ij select, .ij textarea {
  width: 100%; min-height: 2.9rem; padding: var(--s-3) .8rem; margin-top: var(--s-2);
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--field-line); border-radius: var(--radius);
}
.ij textarea { min-height: 8rem; }
.ij input:focus, .ij select:focus, .ij textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--focus-halo); }
.ij input[type=checkbox], .ij input[type=radio] { accent-color: var(--teal); width: 1.05rem; height: 1.05rem; margin-right: var(--s-2); vertical-align: -2px; }
.ij .cmp_form .optin label, .ij .cmp_form .consent label { display: flex; align-items: flex-start; font-weight: 400; }
.ij .cmp_form .buttons, .ij .pkp_form .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.ij .cmp_form .buttons a, .ij .page_login .register { font: 600 .9rem/1 var(--sans); }
.ij .pkp_form_error, .ij .cmp_form .error { color: var(--danger); font-size: .9rem; }

/* Login, register, lost password: the form, and beside it what the account is for. */
.ij .pkp_structure_content.ij-auth {
  display: grid; grid-template-columns: minmax(0, 34rem) minmax(15rem, 22rem); justify-content: space-between;
  gap: var(--s-7) clamp(var(--s-7), 8vw, var(--s-9)); align-items: start;
}
.ij-auth__aside { position: sticky; top: calc(var(--header-h) + var(--s-6)); margin-top: calc(var(--s-6) + 4.6rem); padding: var(--s-5) var(--s-6) var(--s-6); background: var(--mist); border-left: 2px solid var(--teal); border-radius: 0 3px 3px 0; }
.ij .ij-auth__aside h2 { margin: 0 0 var(--s-3); font-size: var(--fs-2); line-height: 1.3; }
.ij .ij-auth__aside p, .ij .ij-auth__aside li { margin: 0 0 var(--s-3); font: 400 .95rem/1.55 var(--sans); color: var(--ink); }
.ij .ij-auth__aside ul { margin: 0 0 var(--s-4); padding-left: var(--s-4); }
.ij .ij-auth__aside li::marker { color: var(--teal); }
.ij .ij-auth__aside .ij-link { color: var(--teal-deep); font-weight: 600; }
.ij .ij-auth__aside .ij-auth__note { margin: var(--s-4) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); }
.ij .ij-auth__aside .ij-auth__note a { color: var(--teal-deep); }
@media (max-width: 900px) {
  .ij .pkp_structure_content.ij-auth { grid-template-columns: 1fr; }
  .ij-auth__aside { position: static; margin-top: 0; }
}
/* Checkbox rows: box on the first line, text (and any link in it) wrapping beside it. */
.ij .cmp_form .optin label, .ij .cmp_form .consent label, .ij .cmp_form .remember label, .ij .cmp_form .reviewer .optin label {
  display: block; position: relative; padding-left: 1.85rem; font: 400 .95rem/1.5 var(--sans); color: var(--ink);
}
.ij .cmp_form .optin input[type=checkbox], .ij .cmp_form .remember input[type=checkbox] { position: absolute; left: 0; top: .2em; margin: 0; }
.ij .cmp_form .remember .label { display: inline; font: inherit; }
.ij .page_login .password a { display: inline-block; margin-top: var(--s-2); font: 500 .88rem/1.4 var(--sans); color: var(--teal-deep); }
.ij .page_login .page > p:first-of-type, .ij .page_login > p, .ij .page_register > p { font: 400 .9rem/1.5 var(--sans); color: var(--ink-2); }

/* search page: wide field, filters beside the results */
.ij .ij-search__bar { display: flex; gap: var(--s-3); max-width: 52rem; margin-bottom: var(--s-7); }
.ij .ij-search__bar .query { flex: 1; height: 3.25rem; min-height: 0; font-size: 1.05rem; padding-inline: var(--s-4); }
.ij .ij-search__bar button { height: 3.25rem; min-height: 0; padding-inline: var(--s-6); }
.ij .ij-search__layout { display: grid; grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr); gap: var(--s-7) clamp(var(--s-7), 6vw, var(--s-9)); align-items: start; }
.ij .ij-search__filters { margin: 0; padding: var(--s-5) 0 0; border: 0; border-top: 1px solid var(--surgical); display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.ij .ij-search__filters > legend { float: left; width: 100%; padding: 0; margin: 0 0 var(--s-1); font: 600 .84rem/1.3 var(--sans); color: var(--surgical); }
.ij .ij-search__dates { display: grid; gap: var(--s-5); }
.ij .ij-search__dates fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-1) var(--s-2); }
.ij .ij-search__dates legend { padding: 0; margin: 0 0 var(--s-2); font: 500 .9rem/1.4 var(--sans); color: var(--ink); }
.ij .ij-search__dates label { font: 400 .78rem/1.3 var(--sans); color: var(--ink-2); }
.ij .ij-search__dates select { min-width: 0; padding-inline: var(--s-2); font-size: .9rem; }
.ij .ij-search__field { display: grid; gap: var(--s-1); }
.ij .ij-search__field .label { font: 500 .9rem/1.4 var(--sans); color: var(--ink); }
.ij .page_search .ij-search { max-width: none; }
.ij .page_search .ij-search__apply { justify-self: start; min-height: 2.6rem; padding: 0 var(--s-5); font: 600 .9rem/1 var(--sans); background: transparent; color: var(--teal-deep); border: 1px solid var(--teal); border-radius: var(--radius); cursor: pointer; }
.ij .page_search .ij-search__apply:hover { background: var(--teal); color: #fff; }
.ij .page .ij-search__count { margin: 0 0 var(--s-2); padding-bottom: var(--s-3); border-bottom: 1px solid var(--surgical); font: 500 .95rem/1.4 var(--sans); color: var(--ink-2); }
.ij .search_results { list-style: none; padding: 0; margin: 0; }
.ij .page .ij-search__empty { padding-top: var(--s-5); border-top: 1px solid var(--surgical); }
.ij .page .ij-search__empty p { margin: 0 0 var(--s-3); max-width: 34rem; font: 400 var(--fs-2)/1.45 var(--serif); color: var(--surgical); }
.ij .page .ij-search__empty p + p { font: inherit; }
@media (max-width: 860px) {
  .ij .ij-search__layout { grid-template-columns: 1fr; }
  .ij .ij-search__filters { position: static; }
}

/* sidebar blocks */
.ij-sidebar .pkp_block { padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.ij-sidebar .pkp_block .title { display: block; font: 600 .82rem/1.3 var(--sans); color: var(--ink-2); margin-bottom: var(--s-3); }
.ij-sidebar .pkp_block ul { list-style: none; margin: 0; padding: 0; }
.ij-sidebar .pkp_block li { padding: var(--s-1) 0; }

/* ── Article page ────────────────────────────────────────────────────────
   Head across the page; then a 44rem reading column and a sticky rail with
   the PDF first and the facts a citing reader needs. */
.ij .obj_article_details { max-width: none; }
.ij-paper__head { max-width: none; padding-bottom: var(--s-6); border-bottom: 1px solid var(--surgical); }
.ij .page .ij-paper__context { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0 0 var(--s-4); font: 500 .9rem/1.4 var(--sans); color: var(--ink-2); }
.ij .page .ij-paper__context span { color: var(--teal-deep); font-weight: 600; }
.ij .ij-paper__context a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.ij .ij-paper__context a:hover { color: var(--teal-deep); text-decoration-color: currentColor; }
.ij .obj_article_details .page_title {
  font-size: clamp(var(--fs-4), 4vw, var(--fs-6)); line-height: 1.1; letter-spacing: -.02em;
  max-width: 24em; margin: 0 0 var(--s-3); font-variation-settings: "opsz" 60; text-wrap: balance;
}
.ij .obj_article_details .subtitle { font: 400 var(--fs-2)/1.4 var(--serif); color: var(--ink-2); max-width: 40rem; margin: 0 0 var(--s-4); }
.ij-paper__authors { margin-top: var(--s-5); }
.ij .page .ij-paper__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.ij .ij-paper__names li { margin: 0; display: inline-flex; align-items: baseline; gap: .2rem; font: 420 1.12rem/1.4 var(--serif); color: var(--surgical); }
.ij .ij-paper__names sup { font: 600 .68rem/1 var(--sans); color: var(--teal-deep); }
.ij .ij-paper__names .userGroup { font: 400 .85rem/1 var(--sans); color: var(--ink-2); margin-left: var(--s-1); }
.ij-orcid { display: inline-flex; align-self: center; margin-left: .3rem; color: #A6CE39; }
.ij-orcid svg { width: .95rem; height: .95rem; }
.ij-orcid--unverified { color: var(--steel); }
.ij-orcid:hover { color: var(--teal-deep); }
.ij .ij-paper__affs { margin: var(--s-3) 0 0; padding-left: 1.1rem; display: grid; gap: var(--s-1); max-width: 52rem; }
.ij .ij-paper__affs li { margin: 0; padding-left: var(--s-1); font: 400 .9rem/1.5 var(--sans); color: var(--ink-2); }
.ij .ij-paper__affs li::marker { font: 600 .72rem/1 var(--sans); color: var(--teal-deep); }
.ij .ij-paper__affs.is-single { list-style: none; padding-left: 0; }
.ij .ij-paper__affs.is-single li { padding-left: 0; }

.ij .ij-paper__body { display: grid; grid-template-columns: minmax(0, 44rem) minmax(15rem, 18rem); justify-content: space-between; gap: var(--s-7) clamp(var(--s-7), 6vw, var(--s-9)); align-items: start; margin-top: var(--s-7); }
.ij .ij-paper__main > section { margin: 0 0 var(--s-7); }
.ij .ij-paper__main h2 { margin: 0 0 var(--s-4); font-size: var(--fs-3); line-height: 1.2; }
.ij .ij-paper__main .abstract p { font: 400 1.12rem/1.72 var(--serif); color: var(--ink); margin: 0 0 var(--s-4); max-width: 42rem; }
.ij .ij-paper__main .abstract strong { font-weight: 600; color: var(--surgical); }
.ij .page .ij-paper__keywords { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.ij .ij-paper__keywords li { margin: 0; font: 400 .95rem/1.5 var(--sans); color: var(--surgical); }
.ij .ij-paper__keywords li + li { position: relative; }
.ij .ij-paper__keywords li + li::before { content: ""; position: absolute; left: calc(var(--s-5) / -2); top: .3em; height: .9em; border-left: 1px solid var(--line); }
.ij .ij-paper__refs { padding-left: 1.6rem; margin: 0; }
.ij .ij-paper__refs li, .ij .ij-paper__main .references p { font: 400 .95rem/1.6 var(--serif); color: var(--ink-2); margin: 0 0 var(--s-3); overflow-wrap: anywhere; }
.ij .ij-paper__refs li::marker { font: 500 .8rem/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ij .ij-paper__bio + .ij-paper__bio { margin-top: var(--s-5); }
.ij .ij-paper__bio h3 { font-size: var(--fs-2); margin: 0 0 var(--s-2); }
.ij .obj_article_details .item.downloads_chart:has(.usageStatsUnavailable) { display: none; }

.ij-paper__rail { display: grid; gap: var(--s-5); }
.ij .ij-paper__rail .citation_display { font: 400 .92rem/1.55 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.ij .ij-paper__rail .item.citation { padding-top: var(--s-2); }
.ij .ij-paper__galleys { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.ij .ij-paper__galleys li { margin: 0; }
.ij .ij-paper__galleys .obj_galley_link {
  justify-content: center; width: 100%; min-height: 3rem; font-size: .95rem; background: var(--teal); color: #fff; border-color: var(--teal);
}
.ij .ij-paper__galleys .obj_galley_link:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.ij .ij-paper__facts { margin: 0; border-top: 1px solid var(--surgical); }
.ij .ij-paper__facts > div { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.ij .ij-paper__facts dt { font: 500 .8rem/1.4 var(--sans); color: var(--ink-2); }
.ij .ij-paper__facts dd { margin: 0; font: 400 .95rem/1.45 var(--sans); color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ij .ij-paper__facts dd a { color: var(--teal-deep); }
.ij .ij-paper__facts dd p { margin: var(--s-1) 0 0; font: 400 .84rem/1.5 var(--sans); color: var(--ink-2); }
.ij .ij-paper__fact h2, .ij .ij-paper__rail .item h2, .ij .ij-paper__rail .pkp_block h2 { font: 600 .84rem/1.3 var(--sans); color: var(--surgical); margin: 0 0 var(--s-2); letter-spacing: 0; }
.ij .ij-paper__fact ul { list-style: none; margin: 0; padding: 0; }
.ij .ij-paper__rail .item { margin: 0; }
@media (max-width: 960px) {
  .ij .ij-paper__body { grid-template-columns: 1fr; }
  .ij-paper__rail { position: static; order: -1; }
}

/* ── Archive (issue list) ────────────────────────────────────────────────── */
.ij .page_issue_archive .issues_archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: var(--s-7) var(--s-6); }
.ij .obj_issue_summary .cover { display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 2px; margin-bottom: var(--s-4); box-shadow: var(--shadow-object); }
.ij .obj_issue_summary .cover img { width: 100%; height: 100%; object-fit: cover; }
.ij .obj_issue_summary .ij-cover { margin-bottom: var(--s-4); }
.ij .obj_issue_summary h2 { font-size: var(--fs-2); margin: 0 0 var(--s-1); }
.ij .obj_issue_summary h2 a { color: var(--surgical); text-decoration: none; }
.ij .obj_issue_summary .series { display: block; font: 500 .85rem/1.3 var(--sans); color: var(--ink-2); }
.ij .obj_issue_summary .description { font-size: .9rem; color: var(--ink-2); }

/* Archive: years as an index, issues as ruled rows. */
.ij-archive__year {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-5) clamp(var(--s-6), 6vw, var(--s-9));
  align-items: start; padding-top: var(--s-5); border-top: 1px solid var(--surgical); margin-bottom: var(--s-8);
}
.ij .page .ij-archive__label {
  position: sticky; top: calc(var(--header-h) + var(--s-5)); margin: 0;
  font: 420 clamp(var(--fs-4), 4vw, var(--fs-5))/1 var(--serif); color: var(--surgical); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em;
}
.ij .page .ij-archive__list { list-style: none; margin: 0; padding: 0; }
.ij .page .ij-issue-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(12rem, auto); gap: var(--s-2) var(--s-6); align-items: center;
  margin: 0; padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
}
.ij .page .ij-issue-row:first-child { padding-top: 0; }
.ij-issue-row__cover.ij-cover { width: 4.5rem; box-shadow: 0 1px 0 var(--line), 0 10px 18px -12px rgba(12, 36, 29, .5); }
.ij-issue-row__cover .ij-cover__type { padding: var(--s-2); gap: 0; }
.ij-issue-row__cover .ij-cover__acronym { font-size: .62rem; }
.ij-issue-row__cover .ij-cover__vol { font-size: .58rem; line-height: 1.2; }
.ij .page .ij-issue-row h3 { margin: 0; font-size: var(--fs-2); line-height: 1.25; }
.ij .page .ij-issue-row h3 a { color: var(--surgical); text-decoration: none; }
.ij .page .ij-issue-row h3 a:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: .2em; }
.ij .page .ij-issue-row__series, .ij .page .ij-issue-row__desc p { margin: var(--s-1) 0 0; font: 400 .92rem/1.5 var(--sans); color: var(--ink-2); }
.ij .page .ij-issue-row__meta { margin: 0; display: grid; gap: var(--s-1); justify-items: end; text-align: right; }
.ij .page .ij-issue-row__meta div { display: flex; gap: var(--s-2); align-items: baseline; }
.ij .page .ij-issue-row__meta dt { font: 500 .8rem/1.4 var(--sans); color: var(--ink-2); }
.ij .page .ij-issue-row__meta dd { margin: 0; font: 400 .9rem/1.4 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.ij .page .ij-issue-row__meta dd a { color: var(--teal-deep); }
@media (max-width: 860px) {
  .ij-archive__year { grid-template-columns: 1fr; }
  .ij .page .ij-archive__label { position: static; }
}
@media (max-width: 600px) {
  .ij .page .ij-issue-row { grid-template-columns: 3.5rem minmax(0, 1fr); align-items: start; }
  .ij-issue-row__cover.ij-cover { width: 3.5rem; }
  .ij .page .ij-issue-row__meta { grid-column: 2; justify-items: start; text-align: left; }
}

/* ── Corrections: core lists inside restyled areas ───────────────────────── */
.ij .cmp_breadcrumbs li { font: 500 .84rem/1.4 var(--sans); margin: 0; }
.ij .cmp_breadcrumbs ol { padding: 0; }
.ij .obj_article_details ul.galleys_links, .ij .obj_article_details .authors, .ij .ij-articles, .ij .ij-galleys { padding-left: 0; }
.ij .obj_article_details ul.galleys_links > li, .ij .ij-galleys > li { margin: 0; }
.ij .obj_article_details ul.galleys_links > li::marker { content: none; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ij-footer { background: var(--pine); color: var(--on-dark-2); }
.ij-footer__inner {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: clamp(3rem, 7vw, 5rem) 0 var(--s-6);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-7) clamp(2rem, 6vw, 5rem);
}
.ij-footer__mark { width: 2.6rem; color: var(--fibre); margin-bottom: var(--s-5); }
.ij .ij-footer__logo { width: 4rem; height: 4rem; margin-bottom: var(--s-5); }
/* .ij img sets height:auto; the logo needs the extra specificity to keep its size */
.ij .ij-brand__logo { height: 2.75rem; width: 2.75rem; object-fit: contain; flex: none; }
/* A wide logo already carries the journal name: show it alone, as a wordmark */
.ij .ij-brand--wordmark .ij-brand__logo { width: auto; height: 2.6rem; max-width: min(26rem, 60vw); }
.ij-footer__name { font: 400 var(--fs-3)/1.2 var(--serif); color: var(--on-dark-strong); max-width: 22rem; margin: 0 0 var(--s-5); }
.ij-footer__facts { margin: 0; display: grid; gap: var(--s-3); }
.ij-footer__facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-4); font-size: .9rem; }
.ij-footer__facts dt { color: var(--steel); }
.ij-footer__facts dd { margin: 0; color: var(--on-dark); grid-column: 2; }
.ij-footer a { color: var(--fibre); }
.ij-footer a:hover { color: #fff; }
.ij-footer__content { font-size: .95rem; line-height: 1.6; }
.ij-footer__content p { margin-bottom: var(--s-3); }
.ij-footer__platform { grid-column: 1 / -1; margin: var(--s-5) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line-dark); font-size: .82rem; }
.ij-footer__platform a { color: var(--steel); text-decoration: none; }
.ij-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s-6); align-content: start; }
.ij-footer__nav h2 { font: 500 .8rem/1.3 var(--sans); color: var(--steel); letter-spacing: .01em; margin: 0 0 var(--s-4); }
.ij-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.ij-footer__nav a { color: var(--on-dark); text-decoration: none; font-size: .95rem; }
.ij-footer__nav a:hover { color: var(--fibre); text-decoration: underline; }
@media (max-width: 760px) { .ij-footer__inner { grid-template-columns: 1fr; } }

/* ── Motion preferences ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ij *, .ij *::before, .ij *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .ij-header, .ij-footer, .ij-hero__scene, .ij-nav-toggle, .ij-sidebar { display: none !important; }
  body.ij { background: #fff; color: #000; }
}

/* ── Not found ──────────────────────────────────────────────────────────── */
.ij .page.ij-notfound { max-width: 46rem; }
.ij .page .ij-notfound__code { margin: 0 0 var(--s-2); font: 600 .9rem/1 var(--sans); color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.ij .ij-notfound__search { display: flex; gap: var(--s-3); margin: 0 0 var(--s-7); }
.ij .ij-notfound__search input { flex: 1; height: 3rem; }
.ij .ij-notfound__search button { height: 3rem; }

/* Short pages (privacy, messages) keep the footer below the fold line. */
.ij .pkp_structure_content { min-height: calc(100vh - var(--header-h) - 12rem); }
.ij-is-home .pkp_structure_content { min-height: 0; }

/* Home: roles still being appointed, beside the journal chair when there are no announcements. */
.ij .ij-board-teaser p { margin: 0 0 var(--s-4); max-width: 30rem; color: var(--ink-2); font-size: .95rem; }
.ij .ij-board-teaser ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ij .ij-board-teaser li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font: 420 1.05rem/1.35 var(--serif); color: var(--surgical); }
.ij .ij-board-teaser li span { font: 500 .8rem/1.6 var(--sans); color: var(--teal-deep); white-space: nowrap; }

/* ── Mobile pass (2026-11-25) ───────────────────────────────────────────── */
@media (max-width: 1060px) {
  /* backdrop-filter makes the header the containing block of the fixed
     drawer, which clipped the menu to the header's height. */
  .ij-nav-open .ij-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--pine); border-bottom-color: transparent; }
}
@media (max-width: 1040px) {
  /* Section navigation becomes a strip under the header (the page can be long). */
  .ij .pkp_structure_content.ij-has-rail { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .ij-rail, .ij-rail__block { min-width: 0; }
  .ij-rail { order: -1; position: static; padding: 0; margin: calc(-1 * clamp(2rem, 5vw, 3.5rem)) calc(-1 * var(--gutter)) var(--s-5); border-top: 0; border-bottom: 1px solid var(--line); display: block; }
  .ij-rail__block:first-child { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .ij-rail__block:first-child::-webkit-scrollbar { display: none; }
  .ij .ij-rail__title { display: none; }
  .ij-rail ul { display: flex; border-left: 0; gap: var(--s-5); white-space: nowrap; padding-right: var(--s-7); }
  .ij-rail a { padding: var(--s-3) 0; margin: 0; border-left: 0; border-bottom: 2px solid transparent; font-size: .9rem; }
  .ij-rail a[aria-current] { border-bottom-color: var(--teal); }
}
@media (max-width: 960px) {
  /* Article: PDF first, then the abstract; the facts and citation follow it. */
  .ij .ij-paper__body { gap: var(--s-6); }
  .ij-paper__rail { display: contents; }
  .ij .ij-paper__galleys { order: -1; }
  .ij .ij-paper__main { order: 0; }
  .ij-paper__rail > :not(.ij-paper__galleys) { order: 1; }
  .ij .ij-paper__main > section:last-child { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .ij .page h2, .ij .ij-paper__main h2 { font-size: var(--fs-3); line-height: 1.2; }
  .ij .page h3 { font-size: var(--fs-2); }
  .ij .page .ij-board__heading, .ij .page .ij-board__heading h2 { font-size: var(--fs-3); }
  .ij-section-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .ij-hero__actions > * { flex: 1 1 100%; justify-content: center; text-align: center; }
  .ij .page .ij-index--steps > li { grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s-1) var(--s-3); }
  .ij .page .ij-issue-row__cover { grid-row: span 2; align-self: start; }
  .ij .page .ij-issue-row__meta { align-self: start; }
  .ij .page .ij-issue-row h3 { font-size: 1.12rem; }
  .ij-archive__year { margin-bottom: var(--s-7); }
}
@media (max-width: 720px) {
  .ij-hero { padding-top: 13rem; }
  .ij-hero__scene { height: 15rem; }
}
/* Keywords: a comma list, so wrapped lines never start with a separator. */
.ij .page .ij-paper__keywords { display: block; }
.ij .ij-paper__keywords li { display: inline; }
.ij .ij-paper__keywords li + li::before { content: none; }
.ij .ij-paper__keywords li:not(:last-child)::after { content: ","; margin-right: .35em; color: var(--ink-2); }
/* Home: the last article of the issue needs no rule above the next section's. */
.ij-home .ij-toc__section:last-child .ij-articles > li:last-child { border-bottom: 0; }
/* Search filters fold away on small screens. */
.ij-search__fold > summary { display: none; }
@media (min-width: 861px) { .ij-search__fold { position: sticky; top: calc(var(--header-h) + var(--s-5)); } .ij .ij-search__fold .ij-search__filters { position: static; } }
@media (max-width: 860px) {
  .ij-search__fold { border-top: 1px solid var(--surgical); border-bottom: 1px solid var(--line); margin-bottom: var(--s-2); }
  .ij-search__fold > summary { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) 0; list-style: none; cursor: pointer; font: 600 .92rem/1.3 var(--sans); color: var(--surgical); }
  .ij-search__fold > summary::-webkit-details-marker { display: none; }
  .ij-search__fold > summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .2s var(--ease); }
  .ij-search__fold[open] > summary::after { rotate: 225deg; translate: 0 2px; }
  .ij .ij-search__fold .ij-search__filters { border-top: 0; padding: var(--s-2) 0 var(--s-5); }
  .ij .ij-search__fold .ij-search__filters > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ij .ij-search__layout { gap: var(--s-5); }
  .ij .ij-search__bar { margin-bottom: var(--s-5); }
}
.ij .page_search .ij-search__bar .query, .ij .page_search .ij-search__bar button.submit { height: 3.25rem; min-height: 0; box-sizing: border-box; padding-block: 0; }

/* ── Select controls (2026-11-25) ───────────────────────────────────────────
   One look on every OS: no native bevel or arrow, the theme's chevron, same
   height and border as text fields. Where the browser supports customizable
   selects (Chromium 135+), the open list is styled too; elsewhere the list
   stays the system's own. */
.ij select {
  -webkit-appearance: none; appearance: none;
  min-height: 0; height: 2.9rem; padding: 0 2.4rem 0 .8rem; line-height: 1.2;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%233D524A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .8rem center / .75rem;
  cursor: pointer; text-overflow: ellipsis;
}
.ij select:hover { border-color: var(--steel); }
.ij select:disabled { cursor: not-allowed; opacity: .6; }
.ij select::-ms-expand { display: none; }
@supports (appearance: base-select) {
  .ij select { appearance: base-select; display: flex; align-items: center; }
  .ij select::picker-icon { display: none; }
  .ij select::picker(select) {
    appearance: base-select; margin-top: 4px; padding: var(--s-1); max-height: 18rem;
    background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-raised);
  }
  .ij select option { padding: var(--s-2) var(--s-3); border-radius: var(--radius); font: 400 .95rem/1.3 var(--sans); color: var(--ink); }
  .ij select option:hover, .ij select option:focus-visible { background: var(--mist); color: var(--surgical); outline: none; }
  .ij select option:checked { background: var(--mist); color: var(--surgical); font-weight: 600; }
  .ij select option::checkmark { display: none; }
}

/* Search filters: compact controls; each date bound is one row of three. */
.ij .ij-search__filters { gap: var(--s-5); }
.ij .ij-search__filters select, .ij .ij-search__filters input[type=text] { height: 2.5rem; min-height: 0; margin-top: 0; font-size: .9rem; }
.ij .ij-search__filters select { padding-right: 1.9rem; padding-left: .6rem; background-position: right .55rem center; }
.ij .ij-search__dates { gap: var(--s-4); }
.ij .ij-search__dates fieldset { grid-template-rows: auto; grid-auto-flow: row; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--s-2); }
.ij .ij-search__dates legend { margin: 0 0 var(--s-2); font: 500 .88rem/1.3 var(--sans); }
.ij .ij-search__dates fieldset > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ij .ij-search__field { gap: var(--s-2); }
.ij .ij-search__field .label { margin: 0; font: 500 .88rem/1.3 var(--sans); }
.ij .ij-search__actions { display: flex; align-items: center; gap: var(--s-5); }
.ij .page_search .ij-search__apply { height: 2.5rem; min-height: 0; }
.ij .ij-search__clear { font: 500 .88rem/1 var(--sans); color: var(--ink-2); }
.ij .ij-search__clear:hover { color: var(--teal-deep); }

/* Inline field + button rows: the global field margin (space under a label)
   must not apply, or the field sits 8px lower than its button. */
.ij .ij-search__bar, .ij .ij-notfound__search { align-items: stretch; }
.ij .ij-search__bar input, .ij .ij-search__bar button,
.ij .ij-notfound__search input, .ij .ij-notfound__search button { margin: 0; height: 3.25rem; min-height: 0; box-sizing: border-box; align-self: stretch; }

/* Desktop submenus: no dead zone between the item and its panel.
   The panel sits .35rem below the item; while it is open, an invisible
   bridge covers that gap so moving the pointer down slowly keeps :hover.
   Closing waits 150ms, which forgives a slightly diagonal path; opening is
   immediate. (The mobile drawer overrides all of this.) */
@media (min-width: 1061px) {
  .ij-menu > li > ul::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: 100%; height: calc(.35rem + 6px); }
  .ij-menu > li > ul {
    transition: opacity var(--t-micro) var(--ease) .15s, transform var(--t-micro) var(--ease) .15s, visibility 0s linear calc(var(--t-micro) + .15s);
  }
  .ij-menu > li.is-open > ul, .ij-menu > li:hover > ul {
    transition: opacity var(--t-micro) var(--ease), transform var(--t-micro) var(--ease), visibility 0s;
  }
}
@media (min-width: 1061px) {
  /* Moving along the menu: every panel but the hovered item's closes at once
     (the 150ms grace only applies when the pointer leaves the menu). */
  .ij-menu:hover > li:not(:hover) > ul {
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: none;
  }
}
