/* =========================================================================
   Fast Publish Journal - design system
   Classic academic: deep navy, cream paper, brass accents, serif display.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
	/* palette */
	--navy-950: #08182c;
	--navy-900: #0a1f3c;
	--navy-800: #123054;
	--navy-700: #1b4373;
	--navy-100: #e3e9f2;
	--cream-50: #fdfbf6;
	--cream-100: #f7f1e6;
	--cream-200: #efe4d2;
	--brass: #b08d57;
	--brass-soft: #d9c6a3;
	--brass-dark: #8d6f40;
	--ink: #16202b;
	--ink-soft: #2c3a49;
	--muted: #5b6773;
	--line: rgba(10, 31, 60, 0.14);
	--line-strong: rgba(10, 31, 60, 0.28);
	--white: #ffffff;
	--success: #1e7c4c;
	--danger: #b32d2e;

	/* type */
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", Cambria, serif;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;
	--fs-xs: 0.75rem;
	--lh-body: 1.68;

	/* space */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;
	--sp-9: 6rem;
	--sp-10: 8rem;

	/* layout */
	--container: 1200px;
	--container-narrow: 880px;
	--radius: 3px;
	--radius-lg: 6px;
	--shadow-sm: 0 1px 2px rgba(10, 31, 60, 0.06);
	--shadow-md: 0 12px 32px -18px rgba(10, 31, 60, 0.35);
	--header-h: 84px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. 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);
}

body {
	margin: 0;
	background: var(--cream-50);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-synthesis: none;
	overflow-x: clip; /* guards against a single wide child forcing a page scroll */
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--navy-800);
	text-decoration-color: var(--brass-soft);
	text-underline-offset: 0.18em;
	transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
	color: var(--brass-dark);
	text-decoration-color: var(--brass);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.012em;
	color: var(--navy-900);
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.4rem);
}

h2 {
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
}

h3 {
	font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 1.1em;
	padding-inline-start: 1.2em;
}

li {
	margin-bottom: 0.35em;
}

strong {
	font-weight: 600;
	color: var(--navy-900);
}

em {
	font-style: italic;
}

small {
	font-size: var(--fs-small);
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: var(--sp-6) 0;
}

::selection {
	background: var(--brass-soft);
	color: var(--navy-950);
}

:focus-visible {
	outline: 2px solid var(--brass);
	outline-offset: 3px;
}

.icon {
	flex: none;
}

.muted {
	color: var(--muted);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: -999px;
	top: 0;
	z-index: 100;
	background: var(--navy-900);
	color: var(--cream-50);
	padding: 12px 20px;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	inset-inline-start: 0;
	color: var(--cream-50);
}

/* -------------------------------------------------------------------------
   3. Layout primitives
   ---------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.section {
	padding-block: clamp(3rem, 5.5vw, 5rem);
}

.section--tight {
	padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.section--search {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

/* The directory teaser sits right under the search band. */
.section--featured {
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.section--cream {
	background: var(--cream-100);
	border-block: 1px solid var(--line);
}

.section--navy {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.82);
}

.section--navy h2,
.section--navy h3 {
	color: var(--cream-50);
}

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4) var(--sp-6);
	margin-bottom: clamp(1.75rem, 3vw, 3rem);
}

.section__head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 720px;
	margin-inline: auto;
}

.section__title {
	margin-bottom: 0.25em;
	max-width: 21ch;
}

.section__head--center .section__title {
	max-width: 26ch;
}

.section__lead {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 62ch;
	margin-bottom: 0;
}

.section__note {
	color: var(--muted);
	font-size: var(--fs-small);
	max-width: 34ch;
	margin: 0;
	text-align: end;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.split__aside--card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2rem);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.prose {
	max-width: 68ch;
}

.prose--page {
	max-width: var(--container-narrow);
	margin-inline: auto;
	font-size: 1.075rem;
}

.prose h2 {
	margin-top: 2em;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose p,
.prose li {
	color: var(--ink-soft);
}

.prose ul,
.prose ol {
	padding-inline-start: 1.35em;
}

/* -------------------------------------------------------------------------
   4. Typographic accents
   ---------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-sans);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.9em;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.eyebrow--brass {
	color: var(--brass-dark);
}

.section--navy .eyebrow {
	color: var(--brass-soft);
}

/* -------------------------------------------------------------------------
   5. Buttons, links, chips, badges
   ---------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.72em 1.35em;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s var(--ease), color 0.18s var(--ease),
		border-color 0.18s var(--ease), transform 0.12s var(--ease);
	white-space: nowrap;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--navy-900);
	color: var(--cream-50);
	border-color: var(--navy-900);
}

.btn--primary:hover {
	background: var(--navy-800);
	border-color: var(--navy-800);
	color: var(--cream-50);
}

.btn--ghost {
	background: transparent;
	color: var(--navy-900);
	border-color: var(--line-strong);
}

.btn--ghost:hover {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--cream-50);
}

.btn--outline {
	background: transparent;
	color: var(--cream-50);
	border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--cream-50);
	color: var(--cream-50);
}

.btn--lg {
	padding: 0.9em 1.7em;
	font-size: 1rem;
}

.btn--sm {
	padding: 0.5em 0.9em;
	font-size: 0.85rem;
}

.btn--block {
	width: 100%;
	margin-bottom: var(--sp-3);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--navy-800);
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
}

.link-arrow .icon {
	transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.4em 0.85em;
	border: 1px solid var(--line-strong);
	border-radius: 100px;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	background: transparent;
	transition: all 0.16s var(--ease);
}

.chip:hover {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--cream-50);
}

.chip--active {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--cream-50);
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.28em 0.6em;
	border-radius: 2px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	background: var(--cream-200);
	color: var(--navy-800);
}

.badge--navy {
	background: var(--navy-100);
	color: var(--navy-800);
}

.badge--brass {
	background: rgba(176, 141, 87, 0.16);
	color: var(--brass-dark);
}

.badge--muted {
	background: rgba(10, 31, 60, 0.06);
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   6. Announcement bar + contact strip + header
   ---------------------------------------------------------------------- */
.announce {
	background: var(--ab-bg, #22c25e);
	color: var(--ab-text, #fff);
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.announce__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.45rem;
	padding-block: 0.85rem;
	text-align: center;
}

.announce__title {
	color: var(--ab-title, #fff);
}

.announce__text {
	color: var(--ab-text, #fff);
}

.announce a,
.announce__link {
	color: var(--ab-link, #fff);
	text-decoration: underline;
	text-underline-offset: 0.16em;
	font-weight: 700;
}

.announce a:hover,
.announce__link:hover {
	color: var(--ab-link, #fff);
	opacity: 0.85;
}

.contactbar {
	background: var(--cb-bg, #f8f8f8);
	border-bottom: 1px solid var(--line);
	font-size: 0.8rem;
}

.contactbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 1.5rem;
	min-height: 38px;
}

.contactbar__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.contactbar__group li {
	margin: 0;
}

.contactbar__group--end {
	justify-content: flex-end;
}

.contactbar a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #3b3b3b;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s var(--ease);
}

.contactbar a:hover {
	color: var(--navy-900);
}

.contactbar__icon {
	display: inline-flex;
}

.contactbar__icon--phone {
	color: #0e8f0e;
}

.contactbar__icon--telegram {
	color: #3277c7;
}

.contactbar__icon--mail {
	color: #3b3b3b;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(253, 251, 246, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.site-header.is-stuck {
	box-shadow: 0 8px 24px -20px rgba(10, 31, 60, 0.6);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--navy-900);
	flex: none;
}

.brand__mark {
	color: var(--navy-900);
	display: flex;
}

/* Supplied logo (uploads/logo/logo.png) */
.brand__logo {
	display: block;
	width: auto;
	height: 64px;
	max-width: 100%;
}

.footer__brand .brand__logo {
	height: 62px;
}

@media (max-width: 900px) {
	.brand__logo {
		height: 44px;
	}

	.footer__brand .brand__logo {
		height: 48px;
	}
}

@media (max-width: 480px) {
	.brand__logo {
		height: 38px;
	}
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand__name {
	font-family: var(--font-serif);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.brand__tagline {
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--muted);
}

.nav {
	margin-inline-start: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.6rem, 1.6vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__item {
	margin: 0;
}

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.4em 0;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	position: relative;
	transition: color 0.18s var(--ease);
}

.nav__link:hover {
	color: var(--navy-900);
}

.current-menu-item > .nav__link,
.nav__item.is-active > .nav__link {
	color: var(--navy-900);
	font-weight: 600;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	flex: none;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--navy-900);
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   6b. Dropdown menus (By Journal / By Field / By Quartile)
   ---------------------------------------------------------------------- */
.nav li.menu-item-has-children {
	position: relative;
}

/* Down arrow next to items that open a dropdown */
.nav li.menu-item-has-children > .nav__link::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-block-start: -3px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.6;
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav li.menu-item-has-children:hover > .nav__link::after,
.nav li.menu-item-has-children.is-open > .nav__link::after {
	opacity: 1;
}

.nav li.menu-item-has-children.is-open > .nav__link::after {
	transform: rotate(-135deg);
	margin-block-start: 3px;
}

.nav .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	inset-inline-start: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 250px;
	padding: 0.9rem 1rem;
	margin: 0;
	list-style: none;
	background: var(--cream-50);
	border: 1px solid var(--line);
	border-top: 2px solid var(--brass);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 28px 56px -32px rgba(10, 31, 60, 0.5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
	z-index: 60;
}

/* Invisible bridge over the 14px gap so the pointer can travel from the
   trigger to the panel without losing :hover (otherwise the menu closes
   before an item can be clicked). */
.nav .sub-menu::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: -16px;
	height: 16px;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu,
.nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.nav .sub-menu li {
	margin: 0;
}

.nav .sub-menu a {
	display: block;
	padding: 0.5rem 0.6rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: 2px;
	white-space: nowrap;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.nav .sub-menu a:hover,
.nav .sub-menu a:focus-visible {
	background: var(--cream-100);
	color: var(--navy-900);
}

/* The "By Field" group has 13 entries - two columns. */
.nav li.mega-field > .sub-menu {
	columns: 2;
	column-gap: 1.5rem;
	min-width: 520px;
}

.nav li.mega-field > .sub-menu li {
	break-inside: avoid;
}

/* -------------------------------------------------------------------------
   7. Hero
   ---------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
	overflow: hidden;
}

.hero__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1100px 460px at 12% -10%, rgba(176, 141, 87, 0.16), transparent 62%),
		linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 72%);
	z-index: -1;
}

.hero__backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(10, 31, 60, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(10, 31, 60, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
	opacity: 0.5;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero__title {
	margin-bottom: 0.5em;
	max-width: 18ch;
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: clamp(2.3rem, 1.35rem + 3.2vw, 4.1rem);
	line-height: 1.06;
	letter-spacing: -0.024em;
	color: var(--navy-900);
	text-wrap: balance;
	font-variant-ligatures: common-ligatures;
}

.hero__title em {
	display: block;
	font-style: italic;
	font-weight: 600;
	color: var(--brass-dark);
	letter-spacing: -0.018em;
	margin-top: 0.14em;
	line-height: 1.1;
}

.hero__lead {
	font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
	color: var(--ink-soft);
	max-width: 54ch;
	margin-bottom: var(--sp-5);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-bottom: var(--sp-5);
}

/* Small reassurance line under the buttons */
.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.82rem;
	color: var(--muted);
}

.hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}

.hero__meta .icon {
	color: var(--brass-dark);
}

/* Four promises inside the hero */
.hero__features-wrap {
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-strong);
	position: relative;
}

.features::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: -1px;
	width: 96px;
	height: 1px;
	background: var(--brass);
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: clamp(1.6rem, 3vw, 2.4rem) clamp(0.9rem, 2vw, 1.75rem) 0;
	text-align: center;
	border-inline-start: 1px solid var(--line);
}

.feature:first-child {
	border-inline-start: 0;
}

.feature__icon {
	display: inline-flex;
	margin-bottom: 0.35rem;
	transition: transform 0.25s var(--ease);
}

.feature:hover .feature__icon {
	transform: translateY(-3px);
}

.feature__title {
	font-family: var(--font-serif);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--navy-900);
	margin: 0;
	letter-spacing: -0.01em;
}

.feature__text {
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--muted);
	margin: 0;
	max-width: 30ch;
}

.hero__panel {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.78);
	border-radius: var(--radius-lg);
	padding: clamp(1.4rem, 2.6vw, 1.9rem);
	position: relative;
	box-shadow:
		0 40px 80px -60px rgba(10, 31, 60, 0.9),
		0 0 0 1px rgba(176, 141, 87, 0.16),
		0 34px 90px -50px rgba(176, 141, 87, 0.55);
}

.hero__panel::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(217, 198, 163, 0.22);
	border-radius: 3px;
	pointer-events: none;
}

.hero__panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-bottom: var(--sp-4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	margin-bottom: var(--sp-2);
}

.hero__panel-label {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	color: var(--cream-50);
}

.hero__panel-count {
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brass-soft);
}

.hero__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero__item {
	padding-block: var(--sp-3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	margin: 0;
}

.hero__item:last-child {
	border-bottom: 0;
}

.hero__item-top {
	display: flex;
	justify-content: space-between;
	gap: var(--sp-3);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.35em;
}

.hero__item-fee {
	color: var(--brass-soft);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hero__item-title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1rem;
	line-height: 1.35;
	color: var(--cream-50);
}

.hero__item-title a {
	color: inherit;
	text-decoration: none;
}

.hero__item-title a:hover {
	color: var(--brass-soft);
}

.hero__item-meta {
	margin: 0.3em 0 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.55);
}

.hero__panel-link {
	margin-top: var(--sp-4);
	color: var(--brass-soft);
	font-size: 0.88rem;
}

.hero__panel-link:hover {
	color: var(--cream-50);
}

/* -------------------------------------------------------------------------
   8. Stats strip
   ---------------------------------------------------------------------- */
.stats {
	background: var(--navy-950);
	color: var(--cream-50);
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.stat {
	background: var(--navy-950);
	padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1rem, 2vw, 1.6rem);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
	border-inline-start: 0;
	padding-inline-start: 0;
}

.stat__value {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.75rem);
	line-height: 1;
	color: var(--cream-50);
}

.stat__label {
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------
   8b. "Why authors choose us" band (text + workflow illustration)
   ---------------------------------------------------------------------- */
.pitch {
	background: var(--cream-100);
	border-block: 1px solid var(--line);
	padding-block: clamp(2.75rem, 5.5vw, 4.75rem);
}

.pitch__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.pitch__title {
	font-size: clamp(1.85rem, 1.25rem + 2vw, 2.65rem);
	max-width: 20ch;
	margin-bottom: 0.45em;
}

.pitch__text {
	color: var(--ink-soft);
	max-width: 52ch;
	margin-bottom: var(--sp-5);
	font-size: 1.02rem;
}

.pitch__text p:last-child {
	margin-bottom: 0;
}

/* The four steps the illustration shows, spelled out as text so the section
   still reads when the artwork is skipped. */
.pitch__steps-lead {
	margin: 0 0 0.7rem;
	padding-top: clamp(0.9rem, 1.6vw, 1.15rem);
	border-top: 1px solid var(--line);
	font-family: var(--font-serif);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--navy-900);
	max-width: 56ch;
}

.pitch__steps {
	display: grid;
	gap: 0.6rem;
	list-style: none;
	margin: 0 0 var(--sp-5);
	padding: 0;
	max-width: 56ch;
}

.pitch__steps li {
	display: grid;
	grid-template-columns: 2.1rem minmax(0, 1fr);
	gap: 0.65rem;
	align-items: baseline;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ink-soft);
}

.pitch__steps strong {
	color: var(--navy-900);
	font-weight: 600;
}

.pitch__step-num {
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--brass-dark);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.pitch__figure {
	margin: 0;
	display: flex;
	justify-content: center;
}

.pitch__figure img {
	width: 100%;
	max-width: 560px;
	height: auto;
}

/* Gradient button (brass -> violet -> blue), matching the hero icons */
.btn--gradient {
	background-image: linear-gradient(115deg, #b08d57 0%, #8b5cf6 52%, #3b82f6 100%);
	color: #fff;
	border-color: transparent;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	font-weight: 700;
	box-shadow: 0 18px 34px -22px rgba(90, 60, 180, 0.75);
}

.btn--gradient:hover {
	color: #fff;
	filter: brightness(1.07) saturate(1.05);
	border-color: transparent;
}

@media (max-width: 1080px) {
	.pitch__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sp-6);
	}

	.pitch__figure {
		order: 2;
	}
}

@media (max-width: 560px) {
	.pitch__figure img {
		max-width: 100%;
	}
}

/* -------------------------------------------------------------------------
   9. Search bar
   ---------------------------------------------------------------------- */
.searchbar {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.25rem, 2.5vw, 1.9rem);
	box-shadow: var(--shadow-sm);
	margin-block: 0;
}

.searchbar__label {
	display: block;
	font-family: var(--font-serif);
	font-size: 1.15rem;
	color: var(--navy-900);
	margin-bottom: var(--sp-3);
}

.searchbar__row {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 0.35rem 0.35rem 0.35rem 0.9rem;
	background: var(--cream-50);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.searchbar__row:focus-within {
	border-color: var(--navy-700);
	box-shadow: 0 0 0 3px rgba(27, 67, 115, 0.1);
}

.searchbar__icon {
	color: var(--muted);
	display: flex;
}

.searchbar__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.7rem 0;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
}

.searchbar__input:focus {
	outline: none;
}

.searchbar__input::placeholder {
	color: #97a1ab;
}

.searchbar__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
	margin: var(--sp-4) 0 0;
	padding: 0;
}

.searchbar__chips li {
	margin: 0;
}

.searchbar--small {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	max-width: 520px;
	margin-block: var(--sp-5);
}

/* -------------------------------------------------------------------------
   10. Journal cards
   ---------------------------------------------------------------------- */
.jgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.jgrid--wide {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.jcard {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.15rem, 2vw, 1.5rem);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
	position: relative;
}

.jcard::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--brass), transparent);
	opacity: 0;
	transition: opacity 0.2s var(--ease);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.jcard:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.jcard:hover::after {
	opacity: 1;
}

.jcard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.jcard__fee {
	color: var(--brass-dark);
	font-weight: 700;
	letter-spacing: 0.03em;
}

.jcard__title {
	font-size: 1.08rem;
	line-height: 1.32;
	margin: 0;
}

.jcard__title a {
	color: var(--navy-900);
	text-decoration: none;
}

.jcard__title a:hover {
	color: var(--brass-dark);
}

.jcard__meta {
	font-size: 0.8rem;
	color: var(--muted);
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	align-items: center;
}

.jcard__issn {
	font-variant-numeric: tabular-nums;
}

.jcard__sep {
	opacity: 0.5;
}

.jcard__scopes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0.15rem 0 0;
	padding: 0;
}

.jcard__scopes li {
	margin: 0;
	font-size: 0.72rem;
	color: var(--muted);
	padding: 0.2em 0.55em;
	background: var(--cream-50);
	border: 1px solid var(--line);
	border-radius: 2px;
}

.jcard__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jcard__badges li {
	margin: 0;
}

.jcard__foot {
	margin-top: auto;
	padding-top: var(--sp-3);
	border-top: 1px solid var(--line);
}

.jcard__foot .link-arrow {
	font-size: 0.85rem;
}

/* -------------------------------------------------------------------------
   10b. Journal detail tables (used on the home page and in the directory)
   ---------------------------------------------------------------------- */
.jtables {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

.jtable {
	height: 100%;
	background: var(--white);
	border: 1px solid #dbe3ec;
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.jtable:hover {
	border-color: #c7d4e4;
	box-shadow: 0 18px 40px -30px rgba(10, 31, 60, 0.45);
}

.jtable__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	padding: 0.85rem 1.1rem;
	background: #e8eef7;
	border-bottom: 1px solid #dbe3ec;
}

.jtable__title {
	font-family: var(--font-serif);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.jtable__title a {
	color: var(--navy-800);
	text-decoration: none;
}

.jtable__title a:hover {
	color: var(--brass-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.jtable__country {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
	white-space: nowrap;
}

.jtable__country strong {
	color: var(--navy-800);
	font-weight: 600;
}

.jtable__body {
	flex: 1;
}

.jtable__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid var(--line);
}

.jtable__row--single {
	grid-template-columns: minmax(0, 1fr);
}

.jtable__cell {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	padding: 0.7rem 1.1rem;
	font-size: 0.86rem;
	line-height: 1.45;
	border-inline-start: 1px solid var(--line);
	min-width: 0;
}

.jtable__cell:first-child {
	border-inline-start: 0;
}

/* Acceptance + Publication time stacked in one cell (matches the reference) */
.jtable__cell--stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
}

.jtable__line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
}

.jtable__value--fee {
	color: var(--navy-800);
	font-weight: 700;
}

.jtable__label {
	color: var(--muted);
	flex: none;
}

.jtable__value {
	color: var(--ink-soft);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.jtable__value--accent {
	color: var(--navy-700);
	font-weight: 600;
}

.jtable__ext {
	color: #b5483a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.14em;
	text-decoration-thickness: 1px;
	overflow-wrap: anywhere;
}

.jtable__ext:hover {
	color: #8d3327;
}

.jtable__ext--alt {
	color: #6d4ea8;
}

.jtable__ext--alt:hover {
	color: #533a82;
}

.jtable__foot {
	padding: 0.9rem 1.1rem;
	border-top: 1px solid var(--line);
	background: var(--cream-50);
}

.btn--support {
	display: flex;
	width: 100%;
	justify-content: center;
	gap: 0.5rem;
	background: #22c25e;
	border-color: #22c25e;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
	padding: 0.7em 1em;
	border-radius: var(--radius);
}

.btn--support:hover {
	background: #1aa851;
	border-color: #1aa851;
	color: #fff;
}

/* "View more" control */
.loadmore {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.loadmore .btn {
	min-width: 280px;
}

.loadmore__count {
	color: var(--muted);
	font-weight: 500;
}

.loadmore--done {
	color: var(--muted);
	font-size: 0.86rem;
	text-align: center;
}

.loadmore__status {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
	min-height: 1.2em;
}

.js-load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Filter and sort toolbar above a collection list */
.jbar {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 0.85rem 1rem;
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
	background: var(--white);
	border: 1px solid #dbe3ec;
	border-radius: var(--radius);
}

.jbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 1rem;
}

.jbar__search {
	flex: 1 1 240px;
	min-width: 190px;
	margin: 0;
}

.jbar__search input {
	width: 100%;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--white);
	font-family: inherit;
	font-size: 0.85rem;
	color: var(--navy-900);
}

.jbar__search input::placeholder {
	color: var(--muted);
}

.jbar__search input:focus-visible {
	outline: 2px solid var(--navy-900);
	outline-offset: 1px;
}

.jbar__field {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.jbar__field select {
	padding: 0.4rem 0.5rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--navy-800);
	cursor: pointer;
}

.jbar__reset {
	padding: 0.35rem 0.7rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--brass-dark);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jbar__reset:hover {
	color: var(--navy-900);
}

.jbar__title {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.jbar__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.jbar__chip {
	gap: 0.45em;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: inherit;
	color: var(--navy-800);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.jbar__chip:focus-visible {
	outline: 2px solid var(--navy-900);
	outline-offset: 2px;
}

.jbar__count {
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--brass-dark);
}

.jbar__chip.is-active,
.jbar__chip[aria-pressed='true'] {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--cream-50);
}

.jbar__chip.is-active .jbar__count,
.jbar__chip[aria-pressed='true'] .jbar__count {
	color: var(--cream-50);
}

.jbar__chip:hover .jbar__count {
	color: inherit;
}

.jbar__status {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
}

/* Shown when the filters leave nothing on screen */
.jbar-empty {
	padding: 2rem 0;
	margin: 0;
	text-align: center;
	color: var(--muted);
}

/* A card hidden by the toolbar */
.jtable.is-filtered-out {
	display: none;
}

@media (max-width: 560px) {
	.jtables {
		grid-template-columns: minmax(0, 1fr);
	}

	.jtable__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.jtable__cell {
		border-inline-start: 0;
		border-top: 1px solid var(--line);
	}

	.jtable__cell:first-child {
		border-top: 0;
	}

	.loadmore .btn {
		min-width: 0;
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
   11. Process steps
   ---------------------------------------------------------------------- */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.step {
	position: relative;
	padding-top: var(--sp-5);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin: 0;
}

.step__num {
	position: absolute;
	top: -0.75em;
	inset-inline-start: 0;
	font-family: var(--font-serif);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	color: var(--brass-soft);
	background: var(--navy-900);
	padding-inline-end: 0.5rem;
}

.step__icon {
	display: inline-flex;
	color: var(--brass-soft);
	margin-bottom: var(--sp-3);
}

.step__title {
	font-size: 1.1rem;
	color: var(--cream-50);
	margin-bottom: 0.35em;
}

.step__text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
}

/* -------------------------------------------------------------------------
   12. Discipline + indexer grids
   ---------------------------------------------------------------------- */
.dgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--sp-3);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dcard {
	margin: 0;
}

.dcard__link {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"icon label"
		"icon count";
	gap: 0.2rem 0.85rem;
	align-items: center;
	padding: 1.05rem 1.15rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.dcard__link:hover {
	border-color: var(--brass);
	background: var(--cream-50);
}

.dcard__icon {
	grid-area: icon;
	color: var(--brass-dark);
	display: flex;
}

.dcard__label {
	grid-area: label;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--navy-900);
	line-height: 1.3;
}

.dcard__count {
	grid-area: count;
	font-size: 0.76rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.igrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
}

.igrid li {
	margin: 0;
	min-width: 0;
}

.icard {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 1.15rem 1.25rem;
	background: var(--white);
	text-decoration: none;
	height: 100%;
	transition: background 0.16s var(--ease);
}

.icard:hover {
	background: var(--navy-900);
}

.icard__name {
	font-family: var(--font-serif);
	font-size: 1.02rem;
	color: var(--navy-900);
	font-weight: 600;
}

.icard:hover .icard__name {
	color: var(--cream-50);
}

.icard__count {
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
}

.icard:hover .icard__count {
	color: var(--brass-soft);
}

/* Databases and publishers we track (home page) */
.partners {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem) clamp(0.75rem, 1.5vw, 1.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.partner {
	margin: 0;
}

.partner__inner {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	height: 100%;
	padding: 0.35rem 0.25rem;
	text-decoration: none;
	color: inherit;
	align-items: flex-start;
}

.partner__icon {
	display: inline-flex;
	margin-bottom: 0.5rem;
	transition: transform 0.25s var(--ease);
}

.partner__name {
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--navy-900);
	line-height: 1.25;
}

.partner__desc {
	font-size: 0.8rem;
	line-height: 1.55;
	color: var(--muted);
}

.partner__meta {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.35rem;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--brass-dark);
}

a.partner__inner:hover .partner__icon {
	transform: translateY(-3px);
}

a.partner__inner:hover .partner__name {
	color: var(--brass-dark);
}

/* Cards without records keep the layout but are not clickable. */
.partner--static .partner__icon {
	opacity: 0.55;
}

.partner--static .partner__name {
	color: var(--ink-soft);
}

@media (max-width: 1080px) {
	.partners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.partners {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}

/* -------------------------------------------------------------------------
   12b. Long-form content blocks on collection pages
   ---------------------------------------------------------------------- */
.cbody {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.cbody--cream {
	background: var(--cream-100);
	border-block: 1px solid var(--line);
}

.cbody__inner--narrow {
	max-width: 840px;
	margin-inline: auto;
}

.cbody__head {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.cbody__head.section__head--center {
	text-align: center;
	margin-inline: auto;
}

.cbody__lead {
	color: var(--ink-soft);
	max-width: 46ch;
	margin-bottom: var(--sp-5);
}

.cbody__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.cgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ccard {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	margin: 0;
}

.ccard__icon {
	display: inline-flex;
	margin-bottom: 0.35rem;
}

.ccard__title {
	font-size: 1.05rem;
	margin: 0;
}

.ccard__text {
	margin: 0;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.62;
}

.ccard--link .link-arrow {
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.82rem;
}

.clist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.clist li {
	display: flex;
	gap: 0.7rem;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.clist__tick {
	flex: none;
	margin-top: 0.15em;
	color: #1aa851;
}

.clist strong {
	display: block;
	color: var(--navy-900);
}

.rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rows__item {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin: 0;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
}

.rows__name {
	font-weight: 600;
	color: var(--navy-900);
}

.rows__dots {
	flex: 1;
	border-bottom: 1px dotted var(--line-strong);
	transform: translateY(-0.2em);
}

.rows__meta {
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Light variant of the four-step band, on cream */
.steps--light .step {
	border-top-color: var(--line-strong);
}

.steps--light .step__num {
	background: var(--cream-100);
	color: var(--brass-dark);
}

.steps--light .step__icon {
	color: var(--brass-dark);
}

.steps--light .step__title {
	color: var(--navy-900);
}

.steps--light .step__text {
	color: var(--muted);
}

.cbody__conclusion {
	margin-top: var(--sp-6);
	color: var(--ink-soft);
}

.cbody__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
}

.doverview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.doverview li {
	margin: 0;
}

.doverview__card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	padding: 1.25rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.doverview__card:hover {
	border-color: var(--brass);
	transform: translateY(-2px);
}

.doverview__icon {
	display: inline-flex;
	margin-bottom: 0.25rem;
}

.doverview__title {
	font-family: var(--font-serif);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--navy-900);
}

.doverview__desc {
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--muted);
}

@media (max-width: 900px) {
	.cbody__split {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Partnership page pieces */
.cgrid--3 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ccard__points {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.ccard__points li {
	margin: 0;
	padding-inline-start: 1rem;
	position: relative;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

.ccard__points li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brass);
}

.split--even {
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.panel--outline {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	box-shadow: none;
}

.section__lead--aside {
	max-width: 34ch;
	color: var(--muted);
	font-size: 0.92rem;
	margin: 0;
}

.channels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0 0 var(--sp-5);
	padding: 0;
}

.channels li {
	margin: 0;
}

.channel a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	padding: 1.25rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.channel a:hover {
	border-color: var(--brass);
	transform: translateY(-2px);
}

.channel__icon {
	display: inline-flex;
	color: var(--navy-800);
	margin-bottom: 0.35rem;
}

.channel__label {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.channel__value {
	font-family: var(--font-serif);
	font-size: 1.02rem;
	color: var(--navy-900);
	overflow-wrap: anywhere;
}

.cbody__cta--center {
	justify-content: center;
	margin-top: 0;
}

@media (max-width: 900px) {
	.split--even {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Trust band on the contact page */
.trustband {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.86);
	padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.trustband__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.trustband__quote {
	margin: 0;
	position: relative;
	padding-inline-start: clamp(1.75rem, 3vw, 2.75rem);
	border-inline-start: 2px solid var(--brass);
}

.trustband__mark {
	position: absolute;
	inset-inline-start: clamp(0.4rem, 1.2vw, 0.85rem);
	top: -0.35em;
	font-family: var(--font-serif);
	font-size: clamp(3rem, 4vw, 4rem);
	line-height: 1;
	color: var(--brass);
	opacity: 0.55;
}

.trustband__line {
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem);
	line-height: 1.28;
	color: #fff;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

.trustband__foot {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	font-style: normal;
}

.trustband__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.trustband__chips li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0.55rem 0.8rem;
	font-size: 0.82rem;
	line-height: 1.3;
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
}

.trustband__chips svg {
	color: var(--brass);
	flex: none;
}

/* Verified details list */
.office {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.office__head {
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.detail {
	background: var(--white);
	padding: clamp(1rem, 2vw, 1.4rem);
	margin: 0;
}

.detail--wide {
	grid-column: 1 / -1;
}

.detail dt {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.4rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.detail__icon {
	display: inline-flex;
	color: var(--brass-dark);
}

.detail dd {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--navy-900);
}

.detail dd a {
	color: var(--navy-900);
	text-decoration-color: var(--brass);
	text-underline-offset: 0.18em;
}

.detail dd a:hover {
	color: var(--brass-dark);
}

.detail__muted {
	color: var(--muted);
	font-size: 0.86rem;
	margin-inline-start: 0.35rem;
}

.detail__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-inline-start: 0.5rem;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--brass-dark);
	white-space: nowrap;
}

@media (max-width: 900px) {
	.trustband__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.trustband__chips {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.details {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Split hero with an illustration (collection pages) */
.page-hero--split {
	padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.page-hero__grid .page-hero__title {
	max-width: 22ch;
}

.page-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0;
}

.page-hero__badges li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0;
	padding: 0.35rem 0.7rem;
	font-size: 0.76rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--navy-800);
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
}

.page-hero__badges strong {
	font-weight: 700;
}

.page-hero__badges span {
	color: var(--brass-dark);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: 0;
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1.25rem 0 0;
}

.page-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
	font-size: 0.8rem;
	color: var(--muted);
}

.page-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.page-hero__trust svg {
	color: #1aa851;
	flex: none;
}

.page-hero__figure {
	margin: 0;
	display: flex;
	justify-content: center;
}

.page-hero__figure img {
	width: 100%;
	max-width: 360px;
	height: auto;
	/* Some of the supplied artwork carries a white plate; multiply lets the
	   cream background show through instead of a visible white square. */
	mix-blend-mode: multiply;
	filter: drop-shadow(0 26px 40px rgba(10, 31, 60, 0.16));
}

/* Partnerships hero: the artwork is a wide, detailed composite, so it gets the
   larger column and the copy carries three paragraphs of substance beside it. */
.page-hero--partners .page-hero__grid {
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	/* Column gap only: the closing note sets its own distance from the split,
	   otherwise the row gap and the note margin would stack up. */
	gap: 0 clamp(1.75rem, 4.5vw, 4rem);
	align-items: center;
}

.page-hero--partners .page-hero__figure img {
	max-width: 100%;
}

/* Sit the artwork on the same baseline as the actions, so the full-width rule
   below closes the hero cleanly instead of leaving a hole on the right. */
.page-hero--partners .page-hero__figure {
	align-self: end;
}

.page-hero--partners .page-hero__lead {
	max-width: 56ch;
	font-size: 1.0625rem;
}

.page-hero--partners .page-hero__lead p:last-child {
	margin-bottom: 0;
}

/* Closing line of the hero: it spans the full section under the artwork, so
   the two-column split above keeps a clean, balanced baseline. */
.page-hero--partners .page-hero__note {
	grid-column: 1 / -1;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding-top: clamp(1.1rem, 2.2vw, 1.6rem);
	border-top: 1px solid var(--line);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ink-soft);
	text-wrap: pretty;
}

.page-hero--partners .page-hero__note strong {
	color: var(--navy-900);
	font-weight: 600;
}

@media (max-width: 900px) {
	.page-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-hero__figure img {
		max-width: 230px;
		margin-top: 0.5rem;
	}

	.page-hero--partners .page-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		/* Stacked: the copy, the artwork and the note all need real spacing. */
		gap: clamp(1.5rem, 4vw, 2rem);
	}

	.page-hero--partners .page-hero__figure img {
		max-width: 420px;
	}
}

/* -------------------------------------------------------------------------
   12c. Long-form publishing guide
   ---------------------------------------------------------------------- */
.guide {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	border-top: 1px solid var(--line);
	background: var(--white);
}

.guide__inner {
	max-width: 860px;
	margin-inline: auto;
}

.guide__head {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.guide__byline {
	color: var(--muted);
	font-size: 0.84rem;
	margin-top: 0.35rem;
}

.guide__toc {
	margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
	padding: 1.1rem 1.25rem;
	background: var(--cream-100);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.guide__toc-title {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
}

.guide__toc ol {
	margin: 0;
	padding-inline-start: 1.1rem;
	display: grid;
	gap: 0.3rem;
	font-size: 0.9rem;
}

.guide__toc li {
	margin: 0;
}

.guide__toc a {
	color: var(--navy-800);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.guide__toc a:hover {
	border-bottom-color: var(--brass);
	color: var(--brass-dark);
}

.guide__section {
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.guide__section + .guide__section {
	border-top: 1px solid var(--line);
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.guide__section h2 {
	font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem);
	margin-bottom: 0.6em;
	scroll-margin-top: 90px;
}

.guide__section p {
	color: var(--ink-soft);
	line-height: 1.75;
	margin-bottom: 1em;
	font-size: 1.01rem;
}

.guide__lead {
	font-size: 1.08rem;
	color: var(--ink-soft);
}

.guide__figure {
	margin: 1.75rem 0;
}

.guide__figure img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--white);
}

.guide__figure figcaption {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: var(--muted);
	text-align: center;
}

.guide__points {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.guide__points li {
	position: relative;
	padding-inline-start: 1.4rem;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.guide__points li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brass);
}

.guide__table-wrap {
	overflow-x: auto;
	margin: 1.25rem 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.guide__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	min-width: 560px;
}

.guide__table th,
.guide__table td {
	text-align: start;
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.guide__table thead th {
	background: var(--cream-100);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
}

.guide__table tbody th {
	color: var(--navy-900);
	font-weight: 600;
	white-space: nowrap;
}

.guide__table tbody tr:last-child th,
.guide__table tbody tr:last-child td {
	border-bottom: 0;
}

.guide__num {
	display: inline-block;
	min-width: 1.9rem;
	color: var(--brass-dark);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.guide__time {
	color: var(--muted);
	white-space: nowrap;
}

.guide__callout {
	margin: 1.25rem 0;
	padding: 1rem 1.15rem;
	background: var(--cream-100);
	border-inline-start: 3px solid var(--brass);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.guide__callout p {
	margin: 0;
	font-size: 0.95rem;
}

.guide__callout strong {
	color: var(--navy-900);
}

.guide__warnings {
	list-style: none;
	margin: 1rem 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.guide__warnings li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 0;
	padding: 0.6rem 0.85rem;
	background: #fdf6f4;
	border: 1px solid #f2ddd6;
	border-radius: var(--radius);
	font-size: 0.9rem;
	line-height: 1.55;
	color: #6d3a2c;
}

.guide__warn-icon {
	flex: none;
	display: inline-flex;
	margin-top: 0.15rem;
	color: #b5483a;
}

.guide__cta {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: var(--cream-100);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.guide__cta p {
	margin: 0 0 0.9rem;
	color: var(--ink-soft);
}

.guide__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 !important;
}

/* Field guide: the four publication stages as a numbered list */
.guide__steps {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
}

.guide__step {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
	margin: 0;
	padding: 1rem 1.15rem;
	background: var(--cream-50);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.guide__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--navy-900);
	color: var(--brass-soft);
	font-family: var(--font-serif);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}

.guide__step-title {
	margin: 0 0 0.25em;
	font-size: 1.02rem;
}

.guide__step p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
	line-height: 1.65;
}

/* Home page: services grid and the "fast publishing" explainer */
.services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.service {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	height: 100%;
	padding: clamp(1.15rem, 2.2vw, 1.6rem);
	margin: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.service:hover {
	border-color: var(--brass);
	transform: translateY(-2px);
}

.service__icon {
	display: inline-flex;
	margin-bottom: 0.25rem;
}

.service__title {
	font-size: 1.02rem;
	margin: 0;
}

.service__text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.6;
	color: var(--muted);
}

.fastpub__head {
	max-width: 62ch;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.fastpub__intro {
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.65;
	margin-top: 0.5rem;
}

/* Two readable columns that fill the section width, with the figure
   spanning both — the illustration sits inside the copy, not beside it. */
.fastpub__flow {
	columns: 2;
	column-gap: clamp(2rem, 4vw, 3.5rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.fastpub__flow p {
	color: var(--ink-soft);
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0 0 1em;
	break-inside: avoid-column;
}

.fastpub__figure {
	column-span: all;
	break-inside: avoid;
	margin: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.fastpub__figure img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--white);
}

.fastpub__figure figcaption {
	margin-top: 0.6rem;
	font-size: 0.8rem;
	color: var(--muted);
	text-align: center;
}

.fastpub__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.fastpub__points li {
	margin: 0;
	padding: 0.7rem 0.9rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--ink-soft);
}

.fastpub__points strong {
	color: var(--navy-900);
}

.fastpub__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

@media (max-width: 860px) {
	.fastpub__flow {
		columns: 1;
	}

	.fastpub__points {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Quartile SEO block */
.qseo__inner {
	max-width: 1080px;
	margin-inline: auto;
}

.qseo__head {
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.qseo__lead {
	color: var(--ink-soft);
	font-size: 1.02rem;
	line-height: 1.75;
	max-width: 78ch;
}

.qseo__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	margin: clamp(1.25rem, 2.5vw, 2rem) 0;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.qfact {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1rem 1.15rem;
	background: var(--white);
}

.qfact__value {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--navy-900);
}

.qfact__label {
	font-size: 0.76rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.qseo__subtitle {
	font-size: 1.15rem;
	margin: clamp(1.75rem, 3vw, 2.5rem) 0 0.5rem;
}

.qseo__note {
	color: var(--muted);
	font-size: 0.9rem;
	margin-bottom: 0.9rem;
}

.qseo__note--live {
	margin: 0.9rem 0 0;
}

.qseo__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
}

.qseo__fields li {
	margin: 0;
}

.qseo__fields a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	padding: 0.45rem 0.8rem;
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.84rem;
	color: var(--navy-800);
	transition: border-color 0.2s var(--ease);
}

.qseo__fields a:hover {
	border-color: var(--brass);
}

.qseo__field-count {
	color: var(--brass-dark);
	font-weight: 700;
	font-size: 0.78rem;
}

.qseo__table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.qseo__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
	min-width: 640px;
}

.qseo__table th,
.qseo__table td {
	text-align: start;
	padding: 0.65rem 0.85rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.qseo__table thead th {
	background: var(--cream-100);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.qseo__table tbody th a {
	color: var(--navy-800);
	text-decoration-color: var(--line-strong);
	text-underline-offset: 0.15em;
}

.qseo__table tbody th a:hover {
	color: var(--brass-dark);
}

.qseo__table tbody tr:last-child th,
.qseo__table tbody tr:last-child td {
	border-bottom: 0;
}

.qseo__steps {
	margin: 0 0 0 1.1rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.qseo__steps li {
	margin: 0;
}

.qseo__cta {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.qseo__cta p {
	margin: 0 0 0.9rem;
	color: var(--ink-soft);
}

.qseo__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 !important;
}

.qseo__related {
	margin-top: 1.5rem;
	font-size: 0.86rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   13. Accordion
   ---------------------------------------------------------------------- */
.accordion {
	border-bottom: 1px solid var(--line);
	padding-block: 0.25rem;
}

.accordion:first-child {
	border-top: 1px solid var(--line);
}

.accordion__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: 1.15rem 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-serif);
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--navy-900);
}

.accordion__q::-webkit-details-marker {
	display: none;
}

.accordion__chevron {
	color: var(--brass);
	transition: transform 0.22s var(--ease);
	flex: none;
}

.accordion[open] .accordion__chevron {
	transform: rotate(180deg);
}

.accordion__a {
	padding-bottom: 1.2rem;
	color: var(--ink-soft);
	font-size: 0.96rem;
	max-width: 68ch;
}

.accordion__a p {
	margin: 0;
}

/* -------------------------------------------------------------------------
   14. CTA band
   ---------------------------------------------------------------------- */
.cta {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.78);
	position: relative;
	overflow: hidden;
}

.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(700px 300px at 85% 20%, rgba(176, 141, 87, 0.18), transparent 70%);
	pointer-events: none;
}

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
	position: relative;
}

.cta__title {
	color: var(--cream-50);
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
	max-width: 34ch;
	margin-bottom: 0.4em;
}

.cta__text {
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
	font-size: 0.95rem;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.collection-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--cream-100);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.collection-cta h2 {
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
	margin-bottom: 0.3em;
}

.collection-cta p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   15. Footer
   ---------------------------------------------------------------------- */
.site-footer {
	background: var(--navy-950);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.85fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__brand .brand {
	color: var(--cream-50);
}

.footer__brand .brand__name {
	color: var(--cream-50);
}

.footer__brand .brand__tagline {
	color: rgba(255, 255, 255, 0.45);
}

.footer__about {
	margin-top: var(--sp-4);
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.6);
	max-width: 38ch;
}

.footer__contact {
	list-style: none;
	margin: var(--sp-4) 0 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-size: 0.86rem;
}

.footer__contact .icon {
	color: var(--brass-soft);
}

.footer__contact a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.footer__contact a:hover {
	color: var(--cream-50);
}

.footer__title {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass-soft);
	margin-bottom: var(--sp-4);
}

.footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.footer__col li {
	margin: 0;
	font-size: 0.875rem;
}

.footer__col a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
}

.footer__col a:hover {
	color: var(--cream-50);
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-block: var(--sp-4);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer__bottom p {
	margin: 0;
}

.footer__sep {
	margin-inline: 0.5em;
	opacity: 0.5;
}

.footer__social {
	display: flex;
	gap: var(--sp-3);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer__social li {
	margin: 0;
}

.footer__social a {
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	transition: all 0.18s var(--ease);
}

.footer__social a:hover {
	color: var(--cream-50);
	border-color: var(--brass);
	background: rgba(176, 141, 87, 0.12);
}

/* -------------------------------------------------------------------------
   16. Page hero + breadcrumbs
   ---------------------------------------------------------------------- */
.page-hero {
	background: var(--cream-100);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

.page-hero--compact {
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.page-hero__title {
	margin-bottom: 0.35em;
	max-width: 26ch;
}

.page-hero__lead {
	color: var(--ink-soft);
	max-width: 68ch;
	font-size: 1.05rem;
	margin-bottom: 0;
}

.page-hero__meta {
	margin: var(--sp-4) 0 0;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.breadcrumbs {
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: var(--sp-4);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs li {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.breadcrumbs li + li::before {
	content: "/";
	opacity: 0.45;
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--navy-900);
}

/* -------------------------------------------------------------------------
   17. Directory layout
   ---------------------------------------------------------------------- */
.directory {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
	padding-block: clamp(2rem, 4vw, 3rem);
}

.filters {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.35rem;
	box-shadow: var(--shadow-sm);
}

.filters__title {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass-dark);
	margin-bottom: var(--sp-4);
}

.filters__form {
	display: grid;
	gap: var(--sp-3);
}

.filters__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-top: var(--sp-2);
}

.filters__reset {
	font-size: 0.82rem;
	color: var(--muted);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
}

.results__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-bottom: var(--sp-4);
	margin-bottom: var(--sp-5);
	border-bottom: 1px solid var(--line);
}

.results__count {
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.results__filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.results__filters li {
	margin: 0;
}

.empty {
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--sp-4);
	background: var(--white);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
}

.empty h2 {
	margin-bottom: 0.4em;
}

.empty p {
	color: var(--muted);
	max-width: 46ch;
	margin-inline: auto;
	margin-bottom: var(--sp-5);
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-3);
	margin-top: clamp(2rem, 4vw, 3rem);
	font-size: 0.9rem;
}

.pagination__list {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination__list li {
	margin: 0;
}

.pagination__page,
.pagination__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink-soft);
	background: var(--white);
	transition: all 0.16s var(--ease);
}

.pagination__page:hover,
.pagination__step:hover {
	border-color: var(--navy-900);
	color: var(--navy-900);
}

.pagination__page.is-current {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--cream-50);
}

/* -------------------------------------------------------------------------
   18. Forms
   ---------------------------------------------------------------------- */
.submit-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: start;
}

.submit-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-5);
}

.submit-main .submit-wrap {
	display: block;
}

.submit-aside {
	background: var(--cream-100);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 1.35rem;
	margin-top: var(--sp-5);
}

.form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.35rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-sm);
	display: grid;
	gap: var(--sp-5);
}

.form__group {
	border: 0;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--sp-4);
}

.form__group legend {
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--navy-900);
	padding: 0;
	margin-bottom: var(--sp-3);
}

.form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--sp-4);
}

.form__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field {
	display: grid;
	gap: 0.4rem;
}

.field__label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--navy-900);
}

.field__label em {
	color: var(--brass-dark);
	font-style: normal;
}

.field__hint {
	font-size: 0.78rem;
	color: var(--muted);
	line-height: 1.45;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="search"],
.field input[type="file"],
.field select,
.field textarea {
	width: 100%;
	padding: 0.72rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--cream-50);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease),
		background 0.16s var(--ease);
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
		linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-inline-end: 2.2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--navy-700);
	background: var(--white);
	box-shadow: 0 0 0 3px rgba(27, 67, 115, 0.1);
}

.field--compact .field__label {
	font-size: 0.78rem;
}

.field--file input[type="file"] {
	padding: 0.55rem;
	font-size: 0.85rem;
	background: var(--cream-50);
}

.field--file input[type="file"]::file-selector-button {
	margin-inline-end: 0.75rem;
	padding: 0.45em 0.9em;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy-900);
	cursor: pointer;
}

.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--ink-soft);
	cursor: pointer;
}

.checkbox input {
	margin-top: 0.25em;
	accent-color: var(--navy-800);
	flex: none;
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-4);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--line);
}

.form__note {
	margin: 0;
	font-size: 0.82rem;
	color: var(--muted);
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 1.15rem;
	border-radius: var(--radius);
	border: 1px solid;
	font-size: 0.92rem;
}

.notice p {
	margin: 0.2em 0 0;
}

.notice--success {
	background: rgba(30, 124, 76, 0.08);
	border-color: rgba(30, 124, 76, 0.35);
	color: var(--success);
}

.notice--error {
	background: rgba(179, 45, 46, 0.07);
	border-color: rgba(179, 45, 46, 0.3);
	color: var(--danger);
}

.notice p,
.notice strong {
	color: inherit;
}

.ref {
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: 0.03em;
}

.meta-list {
	list-style: none;
	margin: var(--sp-4) 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.86rem;
}

.meta-list li {
	display: flex;
	justify-content: space-between;
	gap: var(--sp-3);
	margin: 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--line);
}

.meta-list li:last-child {
	border-bottom: 0;
}

.meta-list span {
	color: var(--muted);
}

.panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	box-shadow: var(--shadow-sm);
	margin-bottom: var(--sp-4);
}

.panel--muted {
	background: var(--cream-100);
	box-shadow: none;
}

.panel__title {
	font-size: 1.15rem;
	margin-bottom: var(--sp-3);
}

.panel__note {
	margin-top: var(--sp-3);
	font-size: 0.82rem;
	color: var(--muted);
}

.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--sp-4);
	counter-reset: tl;
}

.timeline__item {
	position: relative;
	padding-inline-start: 1.6rem;
	margin: 0;
}

.timeline__dot {
	position: absolute;
	inset-inline-start: 0;
	top: 0.45em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--brass);
	box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.16);
}

.timeline__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 4px;
	top: 1.4em;
	bottom: -1.1em;
	width: 1px;
	background: var(--line);
}

.timeline__item:last-child::before {
	display: none;
}

.timeline__title {
	font-size: 0.98rem;
	margin-bottom: 0.2em;
}

.timeline__text {
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--muted);
	margin: 0;
}

.checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	font-size: 0.86rem;
}

.checklist li {
	position: relative;
	padding-inline-start: 1.4rem;
	margin: 0;
	color: var(--ink-soft);
}

.checklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.42em;
	width: 8px;
	height: 8px;
	border: 1.5px solid var(--brass);
	border-radius: 50%;
}

.contact-list {
	list-style: none;
	margin: var(--sp-4) 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	font-size: 0.88rem;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
}

.contact-list .icon {
	color: var(--brass-dark);
}

.contact-list a {
	text-decoration: none;
	color: var(--navy-800);
}

/* -------------------------------------------------------------------------
   19. Contact cards
   ---------------------------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: var(--sp-3);
	margin-bottom: var(--sp-7);
}

.contact-card {
	display: grid;
	gap: 0.3rem;
	padding: 1.4rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.contact-card:hover {
	border-color: var(--brass);
	transform: translateY(-2px);
}

.contact-card__icon {
	color: var(--brass-dark);
	margin-bottom: 0.4rem;
}

.contact-card__label {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-card__value {
	font-family: var(--font-serif);
	font-size: 1.05rem;
	color: var(--navy-900);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.contact-card--email .contact-card__value {
	font-size: 0.94rem;
	letter-spacing: -0.01em;
}

.contact-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: var(--sp-5) 0 0;
	padding: 0.9rem 0;
	border-block: 1px solid var(--line);
	font-size: 0.82rem;
	color: var(--muted);
}

.contact-proof strong {
	color: var(--navy-900);
	font-weight: 700;
}

.contact-card__hint {
	font-size: 0.8rem;
	color: var(--muted);
}

/* -------------------------------------------------------------------------
   20. Blog list, 404
   ---------------------------------------------------------------------- */
.postlist {
	display: grid;
	gap: var(--sp-5);
	max-width: 820px;
}

.postcard {
	padding-bottom: var(--sp-5);
	border-bottom: 1px solid var(--line);
}

.postcard__meta {
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.5em;
}

.postcard__title {
	font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem);
	margin-bottom: 0.4em;
}

.postcard__title a {
	color: var(--navy-900);
	text-decoration: none;
}

.postcard__title a:hover {
	color: var(--brass-dark);
}

.postcard__excerpt {
	color: var(--ink-soft);
	font-size: 0.96rem;
}

.postnav {
	display: flex;
	justify-content: space-between;
	gap: var(--sp-4);
	margin-top: var(--sp-7);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
}

.notfound {
	text-align: center;
	padding-block: clamp(3rem, 8vw, 7rem);
	max-width: 720px;
	margin-inline: auto;
}

.notfound__title {
	max-width: 24ch;
	margin-inline: auto;
}

.notfound__lead {
	color: var(--muted);
}

.notfound .searchbar {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin-inline: auto;
	max-width: 520px;
}

.notfound__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
}

/* -------------------------------------------------------------------------
   21. Utilities + motion
   ---------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.alignwide {
	width: min(100%, 1100px);
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.wp-caption,
.wp-block-image {
	margin: 0 0 var(--sp-5);
}

.wp-caption-text {
	font-size: 0.8rem;
	color: var(--muted);
	text-align: start;
	margin-top: 0.5em;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin-bottom: var(--sp-5);
}

th,
td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--line);
	text-align: start;
}

th {
	font-weight: 600;
	color: var(--navy-900);
	background: var(--cream-100);
}

/* -------------------------------------------------------------------------
   22. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sp-6);
	}

	.hero__panel {
		max-width: 560px;
	}

	/* Tablet: two promises per row. */
	.features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature:nth-child(odd) {
		border-inline-start: 0;
	}

	.feature:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.directory {
		grid-template-columns: minmax(0, 1fr);
	}

	.filters {
		position: static;
	}

	.filters__form {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}

	.filters__actions {
		grid-column: 1 / -1;
	}

	.submit-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.submit-side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: var(--sp-4);
	}

	.split {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sp-6);
	}

	.split__aside--card {
		position: static;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 72px;
	}

	.nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: var(--cream-50);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 48px -32px rgba(10, 31, 60, 0.55);
		padding: var(--sp-4) clamp(1.15rem, 4vw, 2.5rem) var(--sp-5);
		display: none;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.nav.is-open {
		display: block;
	}

	body.nav-open {
		overflow: hidden;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__item {
		border-bottom: 1px solid var(--line);
	}

	.nav__item:last-child {
		border-bottom: 0;
	}

	.nav__link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.85rem 0;
		font-size: 0.92rem;
	}

	.nav-toggle {
		display: inline-flex;
	}

	/* Mobile: nested lists become an accordion under their parent. */
	.nav li.menu-item-has-children > .sub-menu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
		background: transparent;
		border: 0;
		border-inline-start: 2px solid var(--brass-soft);
		border-radius: 0;
		padding: 0 0 0.35rem 0.9rem;
		margin: 0.1rem 0 0.6rem;
		min-width: 0;
		columns: 1;
	}

	.nav li.menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.nav .sub-menu a {
		white-space: normal;
		padding: 0.55rem 0;
		font-size: 0.94rem;
	}

	.nav li.menu-item-has-children > .nav__link {
		cursor: pointer;
	}

	.nav li.menu-item-has-children > .nav__link::after {
		margin-block-start: 0;
		transform: rotate(45deg);
	}

	.nav li.menu-item-has-children.is-open > .nav__link::after {
		margin-block-start: 0;
		transform: rotate(-135deg);
	}

	.header__actions .btn {
		display: none;
	}

	.stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer__brand {
		grid-column: 1 / -1;
	}

	.announce__inner {
		padding-block: 0.7rem;
		font-size: 0.78rem;
	}
}

@media (max-width: 560px) {
	.brand__tagline {
		display: none;
	}

	.contactbar__inner {
		justify-content: center;
		padding-block: 0.4rem;
	}

	.contactbar__group {
		gap: 1rem;
	}

	.contactbar__group--end {
		justify-content: center;
	}

	.nav-toggle {
		width: 38px;
		height: 38px;
	}
}

@media (max-width: 640px) {
	:root {
		--fs-body: 1rem;
	}

	.hero__actions .btn,
	.cta__actions .btn {
		width: 100%;
	}

	/* Features stack into one column on phones. */
	.features {
		grid-template-columns: minmax(0, 1fr);
	}

	.feature {
		border-inline-start: 0;
		border-top: 1px solid var(--line);
		padding-inline: 0;
	}

	.feature:first-child {
		border-top: 0;
	}

	.section__head {
		align-items: flex-start;
	}

	.section__note {
		text-align: start;
	}

	.stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.igrid {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}

	.form {
		padding: 1.1rem;
	}

	.searchbar__row {
		flex-wrap: wrap;
		padding: 0.6rem;
	}

	.searchbar__input {
		order: 2;
		width: 100%;
		padding-inline: 0.4rem;
	}

	.searchbar__row .btn {
		width: 100%;
		order: 3;
	}

	.searchbar__icon {
		order: 1;
	}

	.pagination {
		flex-wrap: wrap;
	}

	.contact-card__value {
		font-size: 0.98rem;
	}
}

/* -------------------------------------------------------------------------
   23. Accessibility / print
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.announce,
	.contactbar,
	.site-header,
	.site-footer,
	.cta,
	.filters,
	.nav-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11pt;
	}

	.jcard {
		break-inside: avoid;
		border-color: #ccc;
	}
}

/* WordPress alignment + admin bar offset */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}









