/* ScholarAxis design system v2 (2026): loaded after main.css on every page.
   Type: Source Serif 4 for headings (editorial, academic), Plus Jakarta Sans for text and interface.
   Colour: deep navy, royal blue, ScholarAxis orange, a measured gold for awards, white. */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-italic.woff2") format("woff2"); }

:root {
	--navy: #0a1f44; --navy-950: #061433; --royal: #1747a6; --blue: #1747a6;
	--accent: #f7901e; --accent-text: #b85304; --gold: #b8860b; --gold-soft: #f4e6c4;
	--ink: #111a2e; --muted: #4a5670; --line: #dfe4ec; --tint: #f5f7fa; --tint-2: #eaf0f8;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--r: 10px; --r-lg: 14px; --r-xl: 18px;
	--shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 8px 24px -16px rgba(10, 31, 68, .25);
}

/* Headings: serif across the site; interface text stays sans. */
h1, h2, h3, .page-hero__title, .entry-content h2, .entry-content h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.card__title, .footer-col__title, .nav-actions, .btn, .site-footer h2, .widget-title { font-family: var(--font); letter-spacing: 0; }
::selection { background: #ffe1bd; color: var(--navy); }
:focus-visible { outline: 3px solid #f7901e; outline-offset: 2px; }

/* Buttons: squarer, quieter. */
.btn { border-radius: 8px; box-shadow: none; }
.btn--accent { box-shadow: none; }
.btn--accent:hover { transform: none; }

/* Header: one calm bar, logo · menu · actions. */
.topbar { font-size: .85rem; }
.site-header { box-shadow: 0 1px 0 var(--line); }
.primary-nav .menu > li > a { font-weight: 600; font-size: .95rem; color: var(--ink); }
.primary-nav .menu > li > a:hover, .primary-nav .menu > .current-menu-item > a { color: var(--royal); }
.primary-nav .menu > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--accent); }
@media (min-width: 1101px) { .primary-nav .menu { gap: 2px; } .primary-nav .menu > li > a { padding-inline: 10px; } }

/* Page hero: navy band with a thin gold rule. */
.page-hero { background: var(--navy); }
.page-hero::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--accent) 0 120px, transparent 120px); position: absolute; left: 0; right: 0; bottom: 0; }

/* Footer. */
.site-footer { background: var(--navy-950); border-top: 3px solid var(--accent); }
.footer-col__title { text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; color: #e8edf7; }

/* Pages and articles: text starts at the same left edge as the page title and breadcrumbs above it
   (no centred narrow column); reading lines stay comfortably short. Wide blocks use the full width. */
.container.narrow { max-width: none; }
.container.narrow > .entry-content > *, .container.narrow > .entry-header, .container.narrow > .entry-footer, .container.narrow > .post-nav { max-width: 780px; }
.container.narrow > .entry-content > .sa-fc, .container.narrow > .entry-content > .alignwide, .container.narrow > .entry-content > .alignfull, .container.narrow > .entry-content > .sa-table-scroll, .container.narrow > .entry-content > .sa-class-hub, .container.narrow > .entry-content > .sa-team { max-width: none; }
.sa-fc { width: 100%; left: auto; transform: none; }
.page-hero__intro { max-width: 780px; }
