/*
 * Avloryn Publications — design system
 * ------------------------------------
 * One stylesheet, used by BOTH the static publisher site and the OJS child theme.
 * Keeping it in one place is the only way the publisher pages and the journal stay
 * recognisably the same thing after OJS is upgraded a few times.
 *
 * Decisions locked with the owner:
 *   layout  — "C hybrid": calm hero, no sidebar, a four-cell commitments strip
 *   accent  — slate teal, ONE accent on ink and warm white
 *   naming  — ELDEVOR leads on journal pages; Avloryn Publications leads on publisher pages
 */

:root{
  --ink:#111111;          /* body text                     */
  --strong:#000000;
  --muted:#6B6B6B;        /* secondary text                */
  --paper:#FCFCFA;        /* page background, warm white   */
  --card:#FFFFFF;
  --rule:#E6E4DF;         /* hairlines                     */
  --accent:#17414A;       /* slate teal — the ONE accent   */
  --accent-soft:#EDF3F4;  /* its tint, for callouts        */
  --danger:#B3261E;

  --measure:74ch;         /* readable line length          */
  /* ⚠ The container is wide; PROSE is not. `p{max-width:var(--measure)}` holds paragraphs at 74ch
     however wide this grows, which is what makes widening safe — a 1500px line of text is
     unreadable no matter how modern it looks. At 1600px the old 1120px left a 288px empty margin
     while avloryn.com sat at 24px. */
  --wrap:min(1800px, 94vw);
  --gut:48px;
  /* ⚠ ONE break-out width. It was written three times with two different numbers (1100/550 and
     1180/590); mixing them misaligned a label from the grid it introduces and pushed the page 68px
     sideways. A width used in three places is a variable, not a number typed three times. */
  --wide:1180px;
  --wide-half:590px;
}

*{box-sizing:border-box;margin:0;padding:0}

body{
  background:var(--paper);
  color:var(--ink);
  font:400 17px/1.65 Inter,system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
/* ⚠ This reset exists for the nav and the wordmark, where a link should NOT look like one.
   Its cost is that the DEFAULT for any new link is invisible — a link added in prose inherits the
   surrounding colour and has no underline, so it works and nobody can tell it is there. That has
   already happened once ("visit the journal" read as plain grey text). Content links are styled
   below, and test-site.mjs fails if a link in prose is indistinguishable from its surroundings. */
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ── masthead ─────────────────────────────────────────────────────────────
   The two-line lockup. Read straight down it says the registered title, which
   is what keeps the brand loud and the DOAJ title-match intact. See §11a.     */
header{border-bottom:1px solid var(--rule)}
/* ⚠ flex-wrap is the safety net, not the plan. Adding the logo to the wordmark pushed the header
   16px past the viewport at 1180px on every page — the nav had no room left. Wrapping means the
   nav drops to a second line instead of forcing the page to scroll sideways, whatever is added
   to the header later. The tightened gap below is what actually keeps it on one line. */
.hd{display:flex;align-items:baseline;gap:18px;padding:22px 0;flex-wrap:wrap}
.hd > *{min-width:0}
@media(max-width:1240px){ nav{gap:22px} }
@media(max-width:1040px){ nav{gap:16px;font-size:13.5px} }
.mark{font:600 21px/1 Inter;letter-spacing:.16em;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:11px;text-decoration:none}
/* The mark is 220x188 with the transparent margin trimmed off, so height alone sets its size and
   width:auto keeps the aspect ratio. ⚠ Both attributes stay on the <img> to reserve the space —
   without them the wordmark jumps sideways as the logo loads. */
.mark img{height:26px;width:auto;display:block}
@media(max-width:600px){.mark img{height:21px}}
.fmark{height:30px;width:auto;display:block;margin-bottom:12px;opacity:.85}
.sub{font:400 14px/1 Inter;color:var(--muted)}
nav{margin-left:auto;display:flex;gap:30px;align-items:center;font:500 14.5px/1 Inter}
nav a{color:var(--muted)}
nav a.on,nav a:hover{color:var(--ink)}

/* ── type ─────────────────────────────────────────────────────────────── */
h1{font:300 62px/1.06 Newsreader,Georgia,serif;letter-spacing:-.015em}
h2{font:400 30px/1.3 Newsreader,Georgia,serif}
h3{font:400 22px/1.35 Newsreader,Georgia,serif}
p{max-width:var(--measure)}
/* ⚠ 30ch was set when the container was 1120px and made a punchy lead. Against the wider layout and
   74ch body text it read as a thin ribbon above a wide column. A lead should be narrower than the
   body, not a different shape from it. */
.tag{font:400 21px/1.55 Newsreader,Georgia,serif;color:var(--muted);max-width:52ch;margin-top:24px}
.tag b{color:var(--accent);font-weight:400}
.lbl{font:600 12px/1 Inter;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
/* ⚠ Inside prose the label needs the space a section break would have given it; against the block
   above it, it read as a caption for that block rather than a heading for what follows. */
.prose .lbl{margin-top:52px}
.prose .rule{margin-top:14px;margin-bottom:0}
.prose .rule + .cardgrid, .prose .rule + .pollist{margin-top:0;border-top:0}
.rule{height:1px;background:var(--rule);margin-top:18px}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn{display:inline-block;background:var(--accent);color:#fff;font:500 15px/1 Inter;
     padding:14px 24px;border-radius:3px}
.btn-sm{padding:10px 18px;font-size:14px}
.btn-ghost{color:var(--ink);border-bottom:1px solid var(--rule);padding-bottom:3px;
           font:500 15px/1 Inter}
.cta{display:flex;gap:26px;align-items:center;margin-top:40px;flex-wrap:wrap}

/* ── commitments strip ────────────────────────────────────────────────────
   The same four cells on the publisher, the family and the journal. Saying the
   identical thing at every level is the only claim a new publisher can prove.  */
.strip{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.strip .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
/* the open-access badge — the single thing a reader should register first */
.oa{display:inline-flex;align-items:center;gap:10px;margin-bottom:20px;
  font:600 12.5px/1 Inter;letter-spacing:.17em;text-transform:uppercase;
  color:var(--accent);background:var(--accent-soft);
  border:1px solid var(--accent);border-radius:999px;padding:9px 16px}
.oa b{font-weight:600}
.oa::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
.strip .cell{padding:26px 0}
.strip .cell + .cell{border-left:1px solid var(--rule);padding-left:28px}
.strip .k{font:600 12px/1 Inter;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.strip .v{font:400 14.5px/1.5 Inter;color:var(--muted);margin-top:8px}

/* ── article list ─────────────────────────────────────────────────────── */
.art{padding:26px 0;border-bottom:1px solid var(--rule);display:flex;gap:40px;align-items:baseline}
.art .kind{font:500 12px/1 Inter;letter-spacing:.1em;text-transform:uppercase;
           color:var(--accent);white-space:nowrap;width:130px}
.art h3{flex:1}
.art .meta{font:400 13.5px/1 Inter;color:var(--muted);white-space:nowrap}

/* ── callout ──────────────────────────────────────────────────────────── */
.note{background:var(--accent-soft);border-left:3px solid var(--accent);padding:32px 36px}
/* ⚠ These were painted in --danger (#B3261E) on pink. Red means something has gone wrong, and
   nothing has: the marker in the source documents means "this matters, and here is why", and the
   renderer cannot tell that apart from a genuine prohibition. Across thirteen of these on six pages,
   most are REASONING - "these choices are not taste, they were measured against..." - and a reader
   who meets an error-coloured box on a fees page starts looking for the problem.
   ⚠ Ochre is the attention colour the publisher's own mark already uses. It says look here without
   saying something is broken, and the few that really are prohibitions ("Not PDF for the
   manuscript") carry that in their words, where it belongs. */
.note.warn{background:#FBF7EE;border-left-color:#A8842C}
.note .lbl{color:var(--accent)}
.note.warn .lbl{color:#8A6A1F}
.note.warn strong, .note.warn b{color:#6B5416}

.cols{columns:3;column-gap:44px;margin-top:22px}
.cols div{break-inside:avoid;font:400 15.5px/2.0 Inter;color:var(--muted)}

footer{border-top:1px solid var(--rule);margin-top:96px;padding:40px 0 72px;
       font:400 14.5px/1.7 Inter;color:var(--muted)}
footer .pb{color:var(--ink);font-weight:500}

/* ── responsive ───────────────────────────────────────────────────────────
   A journal is read on phones more than anyone plans for. The strip stacks to
   two, then one; the hero shrinks rather than overflowing.                    */
@media (max-width:900px){
  :root{--gut:28px}
  h1{font-size:44px}
  .strip .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strip .cell:nth-child(3){border-left:none;padding-left:0}
  .strip .cell{border-top:1px solid var(--rule)}
  .strip .cell:nth-child(-n+2){border-top:none}
  nav{gap:18px;font-size:13.5px}
  .art{flex-wrap:wrap;gap:10px}
  .art .kind{width:auto}
  .cols{columns:2}
}
@media (max-width:560px){
  h1{font-size:34px}
  .tag{font-size:18px}
  .strip .wrap{grid-template-columns:1fr}
  .strip .cell + .cell{border-left:none;padding-left:0}
  .cols{columns:1}
  .hd{flex-wrap:wrap;gap:10px}
  nav{margin-left:0;width:100%;flex-wrap:wrap}
}

/* ══ static publisher site ═══════════════════════════════════════════════
   Added for site/dist. The tokens and shared components above are unchanged —
   the OJS child theme depends on them.                                      */

.skip{position:absolute;left:-9999px;top:0;background:var(--accent);color:#fff;
      padding:12px 18px;z-index:99;font:500 15px/1 Inter}
.skip:focus{left:0}

header .mark{color:var(--ink)}
main{display:block}

.hero{padding:110px 48px 20px}
.hero.narrow h1{font-size:52px}
.sec{margin-top:76px}
.lede{font:400 16.5px/1.6 Inter;color:var(--muted);max-width:62ch;margin-top:12px}

/* prose pages — About, Ethics, Policies, Independence, Contact */
/* ⚠ A wide container plus a 74ch reading column leaves the right half of a text page empty, which
   looks worse than the narrow layout it replaced. The container stays wide — the header, the
   commitments strip and the journal cards use it — but the READING column is centred inside it.
   Widening a page is only an improvement if something occupies the width. */
/* ⚠ These were centred inside the wrap, so a document page's text began at x=328 while every
   full-width element on the same page - a card grid, a callout - began at x=91. The page jumped
   between two left edges, which is what made the site feel like two sites.
   ⚠ The measure stays: 1,260px of body text is not readable. What changes is where it STARTS. The
   home page already does this - its hero text is left-aligned and simply stops early - so this is
   adopting the home page's pattern rather than inventing one. */
/* ⚠ These classes sit on the SAME div as .wrap, so capping their max-width shrank the wrap itself -
   and the wrap is what carries the page's centring. Left-aligning it then lost that 43px offset and
   produced a second left edge (48 vs 91) instead of removing one.
   ⚠ The box now keeps the wrap's full width and position; the MEASURE is applied to the children.
   Text stays readable, and every element on the page starts at the same x. */
/* ⚠ These classes sit on the SAME div as .wrap. Capping their max-width shrank the wrap, and the
   wrap is what centres the page - so a document page's text began at x=328 while a card grid on the
   same page began at x=91, and the page jumped between two left edges.
   ⚠ Setting max-width:none here was the next mistake: it OVERRODE .wrap's own max-width, the box
   grew to the full viewport, and the content moved to x=48 - a third edge. The box must be left
   alone. Only the text inside it gets a measure. */
/* ⚠ :where() is load-bearing. Written as ".prose > *" this had higher specificity than .tag's own
   52ch and widened every lede on the site from 604px to 952px - a measure set deliberately, silently
   overridden by a rule meant only to supply a default. :where() contributes zero specificity, so an
   element that already states its own measure keeps it. */
:where(.prose > *, .hero.narrow > *){max-width:82ch}
:where(.prose > .cardgrid, .prose > .pollist, .prose > .rule, .prose > .lbl){max-width:none}
/* ── one rhythm across the site ─────────────────────────────────────────────
   ⚠ The home page and the content pages were two design languages on one site. Home opens each
   section with a small label above a hairline rule; every other page opened with a bare serif h2 and
   nothing else, so the pages did not look related.
   ⚠ The fix is the RULE, not the label. Fifteen uppercase eyebrow labels down /for-authors/ would read
   worse than fifteen serif headings - uppercase is hard to read in quantity, and on those pages the
   headings are headings, not category labels. What the pages share is the hairline and the spacing
   above it; what they keep is a heading shape suited to what the page is doing. */
.prose h2{font:400 27px/1.3 Newsreader,Georgia,serif;margin:56px 0 0;padding-top:22px;
          border-top:1px solid var(--rule)}
.prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.prose h2 + p{margin-top:12px}
.prose h3{margin-bottom:8px}
.prose p{font:400 17px/1.75 Inter;color:var(--muted);margin-top:14px;max-width:74ch}
.prose ul{margin:14px 0 0 22px;max-width:74ch}
.prose li{font:400 17px/1.75 Inter;color:var(--muted);margin-top:10px}
.prose strong{color:var(--ink);font-weight:500}
.prose a{color:var(--accent);border-bottom:1px solid var(--rule)}
.prose a:hover{border-bottom-color:var(--accent)}

/* journal family block */
.famhead{display:flex;align-items:baseline;gap:16px;margin-top:34px;flex-wrap:wrap}
.fammark{font:600 20px/1 Inter;letter-spacing:.16em;text-transform:uppercase}
.famsub{font:400 14px/1 Inter;color:var(--muted)}
.famlink{margin-left:auto;font:500 14.5px/1 Inter;color:var(--accent)}

.jcard{display:flex;gap:20px;align-items:baseline;border:1px solid var(--rule);
       border-radius:4px;padding:30px 32px;margin-top:22px;background:var(--card);flex-wrap:wrap}
.jcard-main{flex:1;min-width:0}
.jtitle{font:400 27px/1.3 Newsreader,Georgia,serif}
/* the title is what a reader actually aims at */
.jtitle a{color:inherit;text-decoration:none;border-bottom:1px solid var(--rule);padding-bottom:3px}
.jtitle a:hover{border-bottom-color:var(--accent);color:var(--accent)}
.jmeta{font:400 15px/1.6 Inter;color:var(--muted);margin-top:8px;max-width:none}
.jcard-side{text-align:right;white-space:nowrap}
.jstate{font:500 13px/1 Inter;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.jurl{font:400 13.5px/1.4 Inter;color:var(--muted);margin-top:9px;white-space:normal;max-width:24ch}
.jurl a{color:var(--accent);border-bottom:1px solid var(--accent);padding-bottom:1px;white-space:nowrap}
.jurl a:hover{color:var(--ink);border-bottom-color:var(--ink)}

.dashed{border:1px dashed var(--rule);border-radius:4px;padding:22px 32px;margin-top:14px;
        font:400 15.5px/1.6 Inter;color:var(--muted);max-width:none}

.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 56px;margin-top:30px}
.grid2 h3{font:400 22px/1.35 Newsreader,Georgia,serif}
.grid2 p{font:400 16px/1.65 Inter;color:var(--muted);margin-top:10px}

.note p{font:400 17px/1.65 Inter;margin-top:14px;max-width:72ch}
.notelink{color:var(--accent);border-bottom:1px solid var(--accent);padding-bottom:2px;
          font:500 15px/1 Inter}

@media (max-width:900px){
  .hero{padding:64px 28px 16px}
  .hero.narrow h1,.hero h1{font-size:40px}
  .grid2{grid-template-columns:1fr;gap:30px}
  .jcard{flex-direction:column;align-items:flex-start}
  .jcard-side{text-align:left}
  .jurl{max-width:none}
  .famlink{margin-left:0;width:100%}
}
@media (max-width:560px){
  .hero.narrow h1,.hero h1{font-size:32px}
  .prose p,.prose li{font-size:16px}
  .dashed{padding:18px 20px}
}

/* A journal title, a DOI or a URL can be one long unbroken string. Without this a single
   78-character word pushed the page 605px wide at 320px — found by the worst-case test, not by eye. */
h1,h2,h3,.jtitle,.mark,.fammark,.jurl,.prose p,.prose li,.tag,.jmeta{overflow-wrap:break-word}
.jurl,.jmeta{word-break:break-word}

/* The real cause of the 605px blow-out, found by diagnosing rather than guessing:
   `align-items:flex-start` sizes a flex item to its CONTENT, so an unbreakable 78-character title
   made .jcard-main 864px wide inside a 320px screen. min-width:0 alone cannot fix that — the item
   has to be told to take the container's width, and the text told it may break anywhere. */
.jcard-main,.jcard-side{min-width:0;max-width:100%}
.jtitle,.jmeta,.jurl{overflow-wrap:anywhere}
@media (max-width:900px){
  .jcard > *{width:100%}
  .jcard-side{white-space:normal}   /* nowrap survived the earlier media query and overflowed too */
}

/* ── mobile fixes, found by looking at a 390px screenshot rather than trusting the media queries ──
   1. "AVLORYN PUBLICATIONS" at 21px with .16em tracking filled the whole 390px width and shoved the
      nav onto two cramped lines.
   2. The 1-column strip lost the divider between cells 1 and 2: the :nth-child(-n+2) rule that hides
      the top border was written for the TWO-column layout and was never revisited for one column.
   3. Seven nav items need to be legible, not merely present.                                        */
@media (max-width:560px){
  .mark{font-size:15px;letter-spacing:.11em}
  .hd{gap:6px;padding:18px 0}
  nav{gap:14px 16px;font-size:13.5px;margin-top:2px}
  .strip .cell:nth-child(-n+2){border-top:1px solid var(--rule)}  /* undo the 2-col rule */
  .strip .cell:first-child{border-top:none}                        /* only the first is borderless */
  .strip .cell{padding:20px 0}
}
@media (max-width:400px){
  .mark{font-size:13.5px;letter-spacing:.09em}
  nav{gap:12px 14px;font-size:13px}
}

/* ── policy index ─────────────────────────────────────────────────────── */
/* ── the policy index ───────────────────────────────────────────────────────
   ⚠ This was eighteen identical full-width rows - heading, grey line, hairline, repeat - which read
   as one undifferentiated wall and looked nothing like the rest of the site. Eighteen things a
   reader is meant to CHOOSE between is a grid, not a list: a grid shows the shape of the whole set
   at once, and the cell borders are the same device the home page and the contact page already use.
   ⚠ It breaks out of the reading measure for the same reason the contact cards do - a row of cells
   is not prose and should not be capped at a prose width. */
.pollist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:26px;
         border:1px solid var(--rule);border-right:0;border-bottom:0;background:var(--card);}
.polrow{display:block;padding:22px 24px;border-right:1px solid var(--rule);
        border-bottom:1px solid var(--rule);min-width:0;text-decoration:none}
.polrow:hover{background:#F7F9F9}
.polrow:hover .polname{color:var(--accent)}
/* ⚠ The underline was set in --rule (#E6E4DF) on a #FCFCFA ground - so faint that it rendered on
   some names and not others depending where the pixel grid fell, which looks like a mistake rather
   than a style. Either a link is marked or it is not. */
.polname{font:400 19px/1.35 Newsreader,Georgia,serif;color:var(--ink);
         text-decoration:underline;text-decoration-color:#C9C6BE;text-underline-offset:3px}
.polrow:hover .polname{text-decoration-color:var(--accent)}
.poldesc{font:400 14px/1.6 Inter;color:var(--muted);margin-top:7px;max-width:none}
@media (max-width:980px){ .pollist{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:620px){ .pollist{grid-template-columns:1fr} .polrow{border-right:0} }

/* ── generated policy prose: tables, lists, code ──────────────────────── */
.prose ol{margin:14px 0 0 22px;max-width:74ch}
.prose ol li{font:400 17px/1.75 Inter;color:var(--muted);margin-top:10px}
.prose code{font:400 15px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  background:var(--accent-soft);padding:2px 6px;border-radius:3px;color:var(--ink)}
.prose h3{font:400 22px/1.35 Newsreader,Georgia,serif;margin-top:32px}
.prose h4{font:500 16px/1.4 Inter;margin-top:26px}
/* A wide table must scroll inside its own box — never push the page sideways. */
.tablewrap{overflow-x:auto;margin-top:20px;-webkit-overflow-scrolling:touch}
.prose table{border-collapse:collapse;min-width:100%;font:400 15.5px/1.5 Inter}
.prose th{text-align:left;font:600 11.5px/1.3 Inter;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);padding:12px 18px 12px 0;border-bottom:1px solid var(--rule);white-space:nowrap}
.prose td{padding:14px 18px 14px 0;border-bottom:1px solid var(--rule);color:var(--muted);
  vertical-align:top;min-width:8ch}
.prose td strong{color:var(--ink)}
.prose .note{margin-top:22px}
.prose .note p{color:var(--ink)}
.prose .rule{margin:34px 0}

/* ── header: eight nav items no longer fit beside the wordmark on a tablet ──
   Adding "Editorial Team" pushed the nav to 548px, which overflowed a 768px screen by 21px. The
   wrap breakpoint was set at 560px when the nav had seven shorter items; it has to follow the nav,
   not a number chosen once. Caught by the build test, not by looking. */
@media (max-width:1024px){
  .hd{flex-wrap:wrap;row-gap:10px}
  nav{margin-left:0;width:100%;gap:16px 20px;flex-wrap:wrap}
}

/* ⚠ Nav items were breaking mid-label at 1440px — "For / Authors", "Editorial / Team" — and the
   wordmark split across two lines. The overflow test passed, because wrapping is how the browser
   AVOIDS overflow: a test can prove nothing sticks out, it cannot tell you the result looks broken.
   Found by looking at a screenshot. Labels must not break; the nav wraps as a whole or not at all. */
.mark{white-space:nowrap}
nav a{white-space:nowrap}

/* number ranges and limits stay whole — see md-to-html.mjs */
.nb{white-space:nowrap}

/* ── editorial board cards ─────────────────────────────────────────────── */
/* ⚠ The grid shares the reading column with the prose above it. At full container width the cards
   stretched to ~570px each while carrying four short lines, so the page read as a narrow centred
   introduction followed by a wide loose grid — two different pages stacked. One measure, one page. */
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));
  gap:38px 44px;max-width:82ch;margin-inline:auto}
.bm{display:flex;gap:18px;align-items:flex-start;min-width:0}
.bm-photo{width:88px;height:88px;border-radius:50%;object-fit:cover;flex:0 0 auto;
  background:var(--card);border:1px solid var(--rule)}
.bm-body{min-width:0}
/* ⚠ Below the name, not above it. Above, the label pushed the Editor-in-Chief's NAME down while the
   photograph stayed put, so in a row of three the names sat at different heights. The first line of
   every card is now the name — which is also what a reader is looking for. */
/* Every card carries a role, so a reader can tell who does what — and so every card has the same
   number of lines above the affiliation, which is what keeps a row of three aligned. */
.bm-role{font:600 11px/1 Inter;letter-spacing:.17em;text-transform:uppercase;
  color:var(--muted);margin:0 0 6px}
.bm-role.bm-eic{color:var(--accent)}
.bm-name{font:400 19px/1.3 Newsreader,Georgia,serif;margin:0 0 5px}
.bm-role + .bm-aff{margin-top:0}
.bm-aff{font:400 14px/1.6 Inter;color:var(--muted);margin:0}
.bm-cl{font:500 11.5px/1.5 Inter;letter-spacing:.09em;text-transform:uppercase;
  color:var(--accent);margin:9px 0 0}
.bm-orcid{font:400 13px/1.5 Inter;margin:7px 0 0}
.bm-orcid a{color:var(--muted);border-bottom:1px solid var(--rule);padding-bottom:1px}
.bm-orcid a:hover{color:var(--accent);border-bottom-color:var(--accent)}
/* ⚠ Stated plainly rather than left blank. A missing ORCID with no explanation reads as an
   incomplete record; naming it as in progress is accurate and does not invite a guess. */
.bm-pending{color:var(--muted);opacity:.75;font-style:italic}
@media(max-width:560px){ .bm-photo{width:66px;height:66px} }

/* ── nav tap targets ───────────────────────────────────────────────────────────
   `nav a` carried no padding and line-height:1, so on a phone the tappable area was exactly the
   13px of text - a third of the 44px Apple asks for and 48px Google asks for. Measured off a real
   390px screenshot, not assumed. The header is not sticky, so a taller nav costs only the first paint -
   which is what makes the full 44px affordable here. ⚠ The padding REPLACES the row gap rather than adding to it, so
   the header grows by far less than the target does. Labels still never break (white-space:nowrap
   above); the nav wraps as a whole. */
@media (max-width:1024px){
  nav{row-gap:0}
  nav a{padding:16px 0;display:inline-flex;align-items:center}
}

/* ── submit button in the nav ───────────────────────────────────────────────
   Every page on this site exists to end in a submission and not one of them offered a way to start
   one. ⚠ It is a link, not a form: it goes to the journal's own submission page, which is where the
   account and the upload actually live. */
nav a.navcta{color:#fff;background:var(--accent);padding:9px 15px;border-radius:3px;
             font-weight:500;white-space:nowrap}
nav a.navcta:hover{background:#0f2f36;color:#fff}
@media (max-width:1024px){ nav a.navcta{padding:12px 16px} }

/* ── long-document layout: a contents rail beside the text ──────────────────
   /for-authors/ reached 2,600 words across 15 sections and 10,000px of scroll, with the text in a
   column on the left of a 1440px page and the right half empty. The rail uses that space for the one
   thing a document this long actually needs - a way to find the part you came for. ⚠ Below 1100px it
   collapses to an ordinary list at the top, because a sticky rail on a phone is a second scroll. */
.withrail{display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:56px;
          align-items:start}
/* ⚠ display:block is load-bearing. The site sets nav{display:flex;gap:30px} for the header, and
   this rail is a <nav> too - it inherited the flex and laid 15 links out in one 2,870px row,
   pushing the page 1,521px sideways. A guard caught it; the eye would not have. */
.rail{display:block;min-width:0;position:sticky;top:28px;font:400 13.5px/1.5 Inter;border-left:1px solid var(--rule);
      padding-left:16px;max-height:calc(100vh - 56px);overflow-y:auto}
.rail b{display:block;font:600 10.5px/1 Inter;letter-spacing:.11em;text-transform:uppercase;
        color:var(--muted);margin:0 0 10px}
/* ⚠ Long headings spilled out of the 230px column and printed over the body text. */
.rail a{display:block;color:var(--muted);padding:4px 0;text-decoration:none;overflow-wrap:anywhere}
.rail a:hover{color:var(--ink)}
.rail a.cur{color:var(--accent);font-weight:500}
@media (max-width:1100px){
  .withrail{display:block}
  .rail{position:static;max-height:none;border-left:0;border-bottom:1px solid var(--rule);
        padding:0 0 18px;margin:0 0 26px;columns:2;column-gap:28px}
}
@media (max-width:560px){ .rail{columns:1} }

.herocta{margin:22px 0 0;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
a.btn{display:inline-block;background:var(--accent);color:#fff;padding:12px 22px;border-radius:3px;
      font:500 15px/1 Inter;text-decoration:none}
a.btn:hover{background:#0f2f36;color:#fff}
.btnnote{font:400 13.5px/1.4 Inter;color:var(--muted)}

/* ── the journal's own mark ─────────────────────────────────────────────────
   Eldevor had no visual identity anywhere: not on this site, not on the journal itself. A journal
   that appears only as a line of body text is one a reader does not remember having seen. The owner's
   decision stands - a wordmark, not a logo - so this is typographic: the publisher's own serif, the
   journal's accent, and the field spelled out beneath a rule.
   ⚠ The alt text carries the full journal name, because the image IS the name here. */
/* ⚠ The full lockup was tried here and reverted. Scaled to fit the card, its subtitle rendered at
   about 9px - unreadable, unselectable, and invisible to a search engine. The wordmark carries the
   NAME, which is the part that has to be a mark; the field it covers is live text, which can be read
   at any size and indexed. The image lockup is kept for places that cannot hold live text. */
.jtitle{margin:0 0 12px}
.jtitle a{display:block;text-decoration:none}
.jmark{height:34px;width:auto;display:block;margin-bottom:7px}
.jfield{display:block;font:400 19px/1.35 Newsreader,serif;color:var(--ink)}
@media (max-width:700px){ .jmark{height:28px} .jfield{font-size:17px} }

/* ── /submit/ journal cards ────────────────────────────────────────────────
   One journal today, and the layout has to hold when there are three. Cards sit in a grid that goes
   from one column to two, so a second journal changes the page without anyone editing it. */
.jcard{border:1px solid var(--rule);background:var(--card);padding:28px 30px;margin:0 0 22px;
       max-width:var(--measure)}
.jcard .jmark{height:30px;margin-bottom:7px}
.jcard .jfield{display:block;font:400 18px/1.35 Newsreader,serif;color:var(--ink);margin-bottom:14px}
.jcard .jscope{font:400 15px/1.6 Inter;color:var(--ink);margin:0 0 10px}
.jcard .jterms{font:400 13.5px/1.6 Inter;color:var(--muted);margin:0 0 10px}
.jcard .jnote{font:400 13.5px/1.6 Inter;color:var(--accent);margin:0 0 18px}
.jcard p:last-child{margin:0}
@media (min-width:1100px){
  .wrap.sec:has(> .jcard + .jcard){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .wrap.sec:has(> .jcard + .jcard) .jcard{margin:0;max-width:none}
}

/* ── the editorial board, on the home page ─────────────────────────────────
   ⚠ Faces, not a list of names. A new journal is judged on whether real identifiable people stand
   behind it, and this is the only element on the page that answers that. Generated from the same file
   as the board page, so the two cannot disagree. */
.bstrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px;margin:14px 0 0}
.bs{display:block;text-decoration:none;color:inherit}
.bs img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;
        display:block;margin:0 auto 12px;max-width:124px;background:var(--rule)}
/* ⚠ The name is underlined because the card is a link and nothing else on it said so. A guard caught
   that - a reader must be able to tell what is clickable without hovering to find out. */
.bs-n{display:block;font:500 14.5px/1.35 Inter;color:var(--ink);text-align:center;
      text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:3px}
.bs-r{display:block;font:500 11px/1.4 Inter;letter-spacing:.07em;text-transform:uppercase;
      color:var(--accent);text-align:center;margin-top:4px}
.bs-i{display:block;font:400 12.5px/1.45 Inter;color:var(--muted);text-align:center;margin-top:4px}
.bs:hover .bs-n{text-decoration-color:var(--accent)}
.bstrip-note{font:400 14px/1.6 Inter;color:var(--muted);margin:26px 0 0;max-width:var(--measure)}
/* ⚠ This link sat in muted text at the muted colour with no rule - invisible until hovered. A guard
   caught it, which is what the guard is for. */
.bstrip-note a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
@media (max-width:980px){ .bstrip{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px} }
@media (max-width:560px){ .bstrip{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .bs img{max-width:92px} }

/* ── one block per journal ──────────────────────────────────────────────────
   ⚠ Everything about a journal in ONE bounded block: its name, what it covers, its terms, its own
   editorial board, and the three things a visitor might do next. The board used to sit in a separate
   section with nothing saying whose board it was - readable with one journal, meaningless with two. */
.jblock{border:1px solid var(--rule);background:var(--card);padding:34px 36px 30px;
        margin:18px 0 0;min-width:0;overflow-wrap:anywhere}
.jb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;
         padding-bottom:18px;border-bottom:1px solid var(--rule);margin-bottom:18px}
.jb-name{display:block;text-decoration:none}
.jb-name .jmark{height:32px;width:auto;display:block;margin-bottom:8px}
/* ⚠ A journal title is supplied data and one day one of them will be long. Without this a 78-
   character name pushed a 320px screen sideways by 423px. */
.jb-name .jfield{display:block;font:400 20px/1.3 Newsreader,serif;color:var(--ink);
                 overflow-wrap:anywhere}
.jb-state{flex:0 0 auto;font:600 10.5px/1 Inter;letter-spacing:.11em;text-transform:uppercase;
          color:var(--accent);border:1px solid var(--accent);padding:7px 11px;white-space:nowrap}
.jb-meta{font:400 15px/1.65 Inter;color:var(--ink);margin:0 0 7px;max-width:76ch}
.jb-note{font:400 14.5px/1.65 Inter;color:var(--accent);margin:0 0 4px;max-width:76ch}
.jb-eyebrow{font:600 10.5px/1 Inter;letter-spacing:.11em;text-transform:uppercase;
            color:var(--muted);margin:30px 0 0}
.jb-boardnote{font:400 13.5px/1.6 Inter;color:var(--muted);margin:20px 0 0;max-width:76ch}
/* ⚠ max-width:none is deliberate. This is a <p>, so it inherited the 74ch measure meant for prose,
   and its top rule stopped two thirds of the way across the block - a line that looks unfinished
   rather than drawn. The note above it keeps the measure, because that one IS prose. */
.jb-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:26px 0 0;
            padding-top:22px;border-top:1px solid var(--rule);max-width:none}
.jb-actions a:not(.btn){font:400 14.5px/1 Inter;color:var(--accent);
                        text-decoration:underline;text-underline-offset:3px}
@media (max-width:620px){
  .jblock{padding:24px 20px}
  .jb-head{flex-direction:column;gap:12px}
  .jb-actions{gap:14px}
  .jb-actions .btn{width:100%;text-align:center}
}

/* ── one type scale, measured ──────────────────────────────────────────────
   ⚠ An audit of every page, comparing like with like, found h3 rendered at 19px, 21px and 22px
   depending which page you were on, and the journal heading at 25px where every other h2 is 27px. No
   decision produced those numbers; they drifted in one rule at a time. The scale is now:
     h1 52  (62 on the two landing pages, deliberately)   h2 27   h3 22   lede 21   body 17
   ⚠ The board page's name was 19px and is left alone - it is a NAME in a photo card, not a heading. */
.bm-name{font:400 19px/1.3 Newsreader,Georgia,serif}
/* the back link is navigation, not a lede - it was wearing the lede's clothes */
.backlink{font:400 14px/1.5 Inter;margin:0 0 26px}
.backlink a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.backlink a:hover{color:var(--accent)}

/* ── the home page's devices, where the content is structured ───────────────
   ⚠ The contact page gave four full section headings to four single email addresses, which is the
   shape of a long document applied to a short list. The home page already had the right device for
   this - bordered cells with a label, a value and one line of explanation - and it was being used on
   exactly one page. ⚠ Prose stays prose: this is for content that is genuinely a list, not for
   turning paragraphs into boxes. */
/* ⚠ .prose caps its children at 82ch so text stays readable, which is right for text and wrong for
   this. Three cards inside 783px left each one 230px, and the longest address is 34 characters - it
   broke mid-word, "...publications.or | g". On the home page this device spans the whole section, so
   it does here too: the negative margin lifts it out of the reading measure and back to the section
   width, which is where a row of cards belongs. */
.cardgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:18px 0 0;
          border:1px solid var(--rule);background:var(--card);}
.cardcell{padding:22px 24px;border-right:1px solid var(--rule);min-width:0}
.cardcell:last-child{border-right:0}
.cc-k{display:block;font:600 10.5px/1 Inter;letter-spacing:.11em;text-transform:uppercase;
      color:var(--muted);margin-bottom:10px}
/* ⚠ overflow-wrap:anywhere split addresses mid-word ("...publications.or | g"). break-word keeps
   the word whole where it can and only breaks when there is genuinely no room. */
.cc-v{display:block;font:500 13.5px/1.5 Inter;color:var(--accent);text-decoration:underline;
      text-underline-offset:3px;overflow-wrap:break-word;margin-bottom:9px}
.cc-n{display:block;font:400 13.5px/1.6 Inter;color:var(--muted)}
@media (max-width:860px){
  .cardgrid{grid-template-columns:1fr}
  .cardcell{border-right:0;border-bottom:1px solid var(--rule)}
  .cardcell:last-child{border-bottom:0}
}
/* ⚠ Four refusals written as one paragraph is a list pretending to be prose - a reader scanning for
   "do they claim a fake impact factor" has to read the whole thing to find out. Four cells answer it
   at a glance, and each one now says what the refusal protects the reader from. */
.cardgrid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px){ .cardgrid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cardgrid-4 .cardcell:nth-child(2){border-right:0}
  .cardgrid-4 .cardcell:nth-child(-n+2){border-bottom:1px solid var(--rule)} }
@media (max-width:620px){ .cardgrid-4{grid-template-columns:1fr} }
