/* ==========================================================================
   JILT – Journal of Innovations in Learning and Technology
   Theme built on the JILT logo colours (navy #2E3192, red #ED1C24)
   ========================================================================== */

:root {
  --navy: #2e3192;
  --navy-600: #262a80;
  --navy-800: #1a1d5c;
  --navy-900: #10123d;
  --navy-50: #eef0fb;
  --navy-100: #dfe2f6;
  --red: #ed1c24;
  --red-600: #d0141c;
  --red-50: #fdeced;
  --ink: #1a1c2e;
  --text: #33364d;
  --muted: #62667f;
  --line: #e2e4ef;
  --bg: #f5f6fb;
  --surface: #ffffff;
  --success: #0f7a4f;
  --success-50: #e8f6ef;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 61, .06), 0 1px 3px rgba(16, 18, 61, .05);
  --shadow: 0 1px 2px rgba(16, 18, 61, .05), 0 8px 24px -8px rgba(16, 18, 61, .12);
  --shadow-lg: 0 24px 48px -16px rgba(16, 18, 61, .25);
  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 55%, transparent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-serif); font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1.2 var(--font-sans);
  padding: .8em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(237, 28, 36, .55); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-50); color: var(--navy-800); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.btn--lg { padding: .95em 1.5em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c9cbef; font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.topbar a:hover { opacity: 1; color: #fff; text-decoration: underline; }
@media (max-width: 720px) { .topbar__links { display: none !important; } .topbar__facts { gap: 14px !important; } }
@media (max-width: 400px) { .topbar__facts li:nth-child(3) { display: none; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16, 18, 61, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 56px; width: auto; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu__item { position: relative; }
.menu__link {
  display: inline-flex; align-items: center; gap: 4px;
  font: 600 .95rem/1 var(--font-sans); color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 0; background: none; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.menu__link:hover, .menu__item.is-open > .menu__link { background: var(--navy-50); color: var(--navy); }
.menu__item.is-active > .menu__link { color: var(--navy); }
.menu__item.is-active > .menu__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red);
}
.icon--chevron { width: 16px; height: 16px; transition: transform .2s; }
.menu__item.is-open .icon--chevron { transform: rotate(180deg); }
.menu__item--cta { margin-left: 10px; }

.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.menu__item.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .menu__item.has-children:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
  .menu__item.has-children:hover .icon--chevron { transform: rotate(180deg); }
}
.submenu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .925rem; line-height: 1.35; color: var(--text); text-decoration: none;
}
.submenu a:hover { background: var(--navy-50); color: var(--navy); }
.submenu a[aria-current="page"] { background: var(--navy-50); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--red); }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  font: 600 .95rem/1 var(--font-sans); color: var(--navy);
  background: var(--navy-50); border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.primary-nav__mobile-extra { display: none; }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would become the containing block of the fixed menu */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + 1px)) 0 0 0; z-index: 40;
    background: #fff; overflow-y: auto; padding: 16px 16px 32px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu__link { width: 100%; justify-content: space-between; padding: 15px 12px; font-size: 1.05rem; }
  .menu__item.is-active > .menu__link::after { display: none; }
  .submenu {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .submenu::before { display: none; }
  .menu__item.is-open > .submenu { display: block; }
  .menu__item--cta { margin: 16px 0 0; }
  .menu__item--cta .btn { width: 100%; padding: 1em; font-size: 1rem; }
  .primary-nav__mobile-extra { display: flex; gap: 12px; list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
  .primary-nav__mobile-extra li { flex: 1; }
  .primary-nav__mobile-extra a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
}
@media (max-width: 400px) { .nav-toggle__label { display: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-800); isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(237, 28, 36, .38), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(80, 90, 230, .45), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #3a2a8a 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero__inner { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 40px; padding-top: 88px; padding-bottom: 120px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffc9cb; margin-bottom: 18px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: 20px; max-width: 16ch; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dadcf7; max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__mark { justify-self: center; position: relative; }
.hero__mark::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5), 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 30px rgba(255, 255, 255, .04); }
.hero__mark img { position: relative; width: min(320px, 100%); padding: 16%; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 96px; }
  .hero__mark { display: none; }
}
@media (max-width: 480px) { .hero__actions .btn { width: 100%; } }

/* ---------- Facts ---------- */
.facts { position: relative; z-index: 2; margin-top: -56px; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts__grid { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 0; max-width: calc(var(--container) - 48px); }
.fact { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); flex: none; }
.fact__icon .icon { width: 22px; height: 22px; }
.fact div strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.fact div span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (max-width: 1000px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); margin: 0 24px; width: auto; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .facts__grid { margin: 0 16px; } .fact { padding: 16px; } }
@media (max-width: 420px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy) 70%, #43308f); color: #fff; padding: 44px 0 92px; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(237, 28, 36, .45), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { color: #fff; font-size: clamp(1.85rem, 3.6vw, 2.75rem); margin: 0; max-width: 24ch; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .875rem; color: #c3c6ee; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.is-page .layout { margin-top: -60px; padding-top: 0; position: relative; z-index: 2; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 48px); }
.section-title { font-size: 1.75rem; position: relative; padding-bottom: 12px; margin-bottom: 20px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--red); }

/* ---------- Prose ---------- */
.prose { font-size: 1.0625rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .7em; padding-top: .2em; }
.prose h2:first-child, .prose > .toc + h2, .prose > .stepper + .stage h2 { margin-top: 0; }
.prose h3 { font-size: 1.1rem; }
.prose .lead { font-size: 1.15rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--navy); font-weight: 600; }
.prose ul > li::marker { color: var(--red); }
.prose table { width: 100%; }

/* ---------- Sidebar widgets ---------- */
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); font-size: .95rem; }
.widget p { margin-bottom: .6em; }
.widget__title { display: flex; align-items: center; gap: 8px; font: 700 .8rem/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.widget--cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #dcdef8; border: 0; display: grid; gap: 10px; }
.widget--cta .widget__title { color: #fff; font: 650 1.3rem/1.25 var(--font-serif); letter-spacing: 0; text-transform: none; margin: 0; }
.widget--cta p { margin: 0 0 6px; }
.widget--cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.widget--cta .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.widget--announcement { border-top: 3px solid var(--red); }
.widget--announcement .widget__title { color: var(--red-600); }
.cc-badge { display: inline-block; margin-top: 6px; }
.cc-badge img { width: 103px; }
.widget--nav ul { list-style: none; margin: 0; padding: 0; }
.widget--nav li + li { border-top: 1px solid var(--line); }
.widget--nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px; color: var(--text); text-decoration: none; line-height: 1.35; }
.widget--nav a .icon { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: .2s; }
.widget--nav a:hover { color: var(--navy); }
.widget--nav a:hover .icon, .widget--nav a[aria-current="page"] .icon { opacity: 1; transform: none; color: var(--red); }
.widget--nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---------- Home: quick links, indexes, CTA ---------- */
.layout__main { display: grid; gap: 28px; min-width: 0; }
.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 600px) { .quick-links { grid-template-columns: 1fr; } }
.quick-link {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.5;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy-100); color: var(--muted); }
.quick-link strong { color: var(--ink); font: 650 1.2rem/1.3 var(--font-serif); }
.quick-link__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red-600); margin-bottom: 8px; }
.quick-link__icon .icon { width: 22px; height: 22px; }
.quick-link__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.quick-link:hover .quick-link__more .icon { transform: translateX(3px); }
.quick-link__more .icon { transition: transform .2s; }

.indexed { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.indexed__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.indexed__head .section-title { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.index-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .index-grid { grid-template-columns: 1fr; } }
.index-chip { display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); }
.index-chip strong { color: var(--navy); font-size: 1.05rem; }
.index-chip span { font-size: .8125rem; color: var(--muted); line-height: 1.4; }

.cta-band { padding: 64px 0; }
.cta-band__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 48px); border-radius: calc(var(--radius) + 6px); color: #dcdef8;
  background: radial-gradient(80% 140% at 100% 0%, rgba(237, 28, 36, .4), transparent 55%), linear-gradient(135deg, var(--navy-900), var(--navy));
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- Components used in pages ---------- */
.notice { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--navy-50); border: 1px solid var(--navy-100); margin-bottom: 1.5em; }
.notice p:last-child { margin-bottom: 0; }
.notice__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--navy); }
.notice__icon .icon { width: 20px; height: 20px; }
.notice--success { background: var(--success-50); border-color: #bfe5d2; }
.notice--success .notice__icon { color: var(--success); }

.social-embed { margin-top: 24px; max-width: 640px; }
.social-embed .twitter-timeline:not(.twitter-timeline-rendered) {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600;
}

.index-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.index-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; }
.index-list__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* Journal boards */
.board-group + .board-group { margin-top: 44px; }
.board-group > h2 { font-size: 1.35rem; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.board-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.person { display: flex; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg)); transition: border-color .2s, box-shadow .2s; }
.person:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.person__photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); background: var(--navy-50); }
.person__name { font: 650 1.1rem/1.3 var(--font-serif); margin: 2px 0 6px; }
.person__aff { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0 0 4px; }
.person__orcid { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--text); }
.person__orcid:hover { color: var(--navy); text-decoration: underline; }
.icon--orcid { width: 18px; height: 18px; }

.board-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.board-toolbar p { margin: 0; font-size: .925rem; }
.search-field { position: relative; display: flex; align-items: center; flex: 0 1 320px; }
.search-field .icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search-field input {
  width: 100%; font: inherit; font-size: .925rem; padding: 10px 14px 10px 38px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
}
.search-field input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px var(--navy-100); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.board-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.board-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table tbody tr:hover { background: var(--navy-50); }
.board-table td:first-child { font-weight: 600; color: var(--ink); }
.board-table td:last-child { white-space: nowrap; }
.board-empty { padding: 20px; margin: 0; text-align: center; color: var(--muted); }
@media (max-width: 640px) {
  .board-table thead { display: none; }
  .board-table, .board-table tbody, .board-table tr, .board-table td { display: block; }
  .board-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .board-table tbody tr:last-child { border-bottom: 0; }
  .board-table td { padding: 0; border: 0; }
  .board-table td:nth-child(2) { color: var(--text); font-size: .9rem; }
  .board-table td:last-child { color: var(--muted); font-size: .85rem; }
  .person { padding: 16px; gap: 14px; }
  .person__photo { width: 64px; height: 64px; }
}

/* Guide for authors */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 8px; }
.stat { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--navy-50); border: 1px solid var(--navy-100); }
.stat strong { display: block; font: 700 1.5rem/1.2 var(--font-serif); color: var(--navy); }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.2em 0 .5em; }
@media (max-width: 640px) { .downloads { grid-template-columns: 1fr; } }
.download {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.download:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.download__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px; background: #e8efff; color: #2b5bd7; }
.download__icon .icon { width: 22px; height: 22px; }
.download__text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.download__text strong { color: var(--ink); }
.download__text span { font-size: .85rem; color: var(--muted); }
.download__action { color: var(--navy); }
.download__action .icon { width: 22px; height: 22px; }
.checklist { list-style: none; padding: 0 !important; counter-reset: c; }
.checklist > li { counter-increment: c; position: relative; padding: 12px 16px 12px 56px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font-weight: 500; }
.checklist > li::before { content: counter(c); position: absolute; left: 14px; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.checklist ul { margin: 8px 0 0; font-weight: 400; color: var(--text); font-size: .95rem; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 2.2em; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--red-50); border: 1px solid #f8cdd0; }
.inline-cta p { margin: 0; color: var(--ink); font-weight: 600; }

/* Open access */
.license-box { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); margin-bottom: 1em; }
.license-box img { width: 120px; flex: none; margin-top: 4px; }
.license-box p { margin: 0; }
@media (max-width: 560px) { .license-box { flex-direction: column; } }

/* Manuscript handling */
.stepper { list-style: none; padding: 0 !important; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: none; position: relative; }
.stepper li { margin: 0; position: relative; }
.stepper li + li::before { content: ""; position: absolute; top: 22px; left: -50%; width: 100%; height: 2px; background: var(--navy-100); z-index: 0; }
.stepper a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.3; padding: 0 8px; }
.stepper__num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 1.1rem/1 var(--font-serif); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--navy-100); }
.stepper li:last-child .stepper__num { background: var(--red); }
.stepper a:hover { color: var(--navy); }
.stage { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg)); }
.stage + .stage { margin-top: 18px; }
.stage h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin: 0 0 16px !important; }
.stage__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; }
.stage__icon .icon { width: 20px; height: 20px; }
.numbered { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 40px; margin-bottom: 12px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
@media (max-width: 560px) { .stepper a { font-size: .8rem; } .stage { padding: 18px; } }

/* Ethics TOC */
.toc { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); margin-bottom: 2em; }
.toc__title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.toc ol { columns: 2; column-gap: 28px; margin: 0 !important; font-size: .95rem; }
.toc li { break-inside: avoid; margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Contact */
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg)); }
.contact-card h2 { font-size: 1.3rem; margin: 0 0 4px !important; }
.contact-card__name { font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--navy-50); color: var(--navy); }
.contact-list li > a, .contact-list li > span:last-child { padding-top: 6px; word-break: break-word; }

/* 404 */
.error-page { padding: 96px 0; text-align: center; }
.error-page__inner { max-width: 640px; }
.error-page__code { font: 700 clamp(5rem, 14vw, 8rem)/1 var(--font-serif); margin: 0 0 10px; background: linear-gradient(135deg, var(--navy), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .hero__actions { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9bce6; font-size: .925rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; } }
.site-footer h2 { font: 700 .78rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #d9dbf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo:hover { text-decoration: none !important; }
.footer-logo__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; flex: none; }
.footer-logo__mark img { width: 44px; height: 44px; }
.footer-logo__text { font-size: .9rem; line-height: 1.35; color: #fff; }
.footer-logo__text strong { display: block; font: 700 1.35rem/1.1 var(--font-serif); letter-spacing: .04em; }
.site-footer__brand p { max-width: 38ch; }
.cc-badge--light { background: #fff; padding: 4px 6px; border-radius: 6px; }
.cc-badge--light img { width: 88px; }
.footer-contact { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.footer-contact .icon { margin-top: 3px; color: #ff8a8f; }
.footer-contact a { word-break: break-all; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .sidebar, .site-footer, .cta-band, .hero__actions, .social-embed, .inline-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 12px; }
  .page-hero__title, .breadcrumb a { color: #000; }
  .layout { display: block; margin: 0 !important; }
  .card { border: 0; box-shadow: none; padding: 0; }
}

/* Announcements */
.announcement { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--bg)); }
.announcement h2 { font-size: 1.45rem; margin: 0 0 .3em !important; }
.announcement h3 { font-size: 1.05rem; margin: 1.4em 0 .7em; }
.announcement__label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }
.announcement__theme { font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy); }
.announcement__meta { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.announcement__meta li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-weight: 600; font-size: .925rem; }
.dates { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.dates li { display: flex; gap: 16px; align-items: baseline; margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.dates strong { flex: 0 0 130px; color: var(--navy); }
@media (max-width: 480px) { .dates li { flex-direction: column; gap: 0; } .dates strong { flex: none; } }
.announcement__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0 1em; }
.announcement__more { font-size: .925rem; margin: 0; }
