/*
 * Portal Jurnal FTM Unjani — beranda situs OJS (/ojs).
 * Token mengikuti design system situs FTM v2 (ftmv2/docs/design-system.md):
 * hijau Unjani + emas logo (≤ 5% area), Plus Jakarta Sans (UI) + Source Serif 4 (judul),
 * mode gelap "arang kehijauan" mengikuti sistem.
 */

/* ── Font (self-hosted, OFL) ───────────────────────────────────────────── */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("fonts/source-serif-4-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("fonts/source-serif-4-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Token ─────────────────────────────────────────────────────────────── */
:root {
	color-scheme: light dark;

	--brand-50: #eef6f1;
	--brand-100: #d7eadf;
	--brand-200: #b0d5c0;
	--brand-300: #7fb898;
	--brand-500: #2c7a52;
	--brand-600: #186642;
	--brand-700: #0f5c3d;
	--brand-800: #0c4a31;
	--brand-900: #0b3d2a;
	--brand-950: #062519;
	--gold-100: #fbf1d9;
	--gold-300: #edcb76;
	--gold-500: #d4a12a;
	--gold-700: #8e6914;

	--surface: #ffffff;
	--surface-raised: #ffffff;
	--surface-sunken: #fafafa;
	--surface-muted: #f5f5f5;
	--surface-brand: var(--brand-50);
	--surface-gold: var(--gold-100);
	--ink: #171717;
	--ink-muted: #4a4a4a;
	--ink-subtle: #6b6b6b;
	--line: #e5e5e5;
	--line-strong: #d4d4d4;
	--line-brand: var(--brand-200);
	--accent-ink: var(--brand-900);
	--accent-link: var(--brand-700);
	--gold-ink: var(--gold-700);
	--btn-primary: var(--brand-700);
	--btn-primary-hover: var(--brand-800);
	--focus: var(--brand-500);
	--shadow-sm: 0 1px 2px rgb(6 37 25 / 0.06), 0 1px 3px rgb(6 37 25 / 0.08);
	--shadow-lg: 0 24px 48px -16px rgb(6 37 25 / 0.22), 0 4px 12px rgb(6 37 25 / 0.06);

	--font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-serif: "Source Serif 4", ui-serif, Georgia, Cambria, "Times New Roman", serif;
	--radius: 10px;
	--radius-lg: 16px;
	--radius-xl: 22px;
	--header-h: 72px;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
	:root {
		--surface: #0f1714;
		--surface-raised: #16201c;
		--surface-sunken: #0b1210;
		--surface-muted: #1e2a25;
		--surface-brand: #13281f;
		--surface-gold: #2b2413;
		--ink: #e6ede9;
		--ink-muted: #bccac3;
		--ink-subtle: #95a59d;
		--line: #26332e;
		--line-strong: #364640;
		--line-brand: #24473a;
		--accent-ink: #bfe0cc;
		--accent-link: #86c6a2;
		--gold-ink: #e6c36a;
		--btn-primary: var(--brand-500);
		--btn-primary-hover: var(--brand-600);
		--focus: #86c6a2;
		--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
		--shadow-lg: 0 24px 48px -16px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.04);
	}
}

/* ── Dasar ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

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

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0;
}

a {
	color: var(--accent-link);
	text-underline-offset: 3px;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.sr-only {
	position: absolute;
	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;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--radius);
	background: var(--gold-500);
	color: var(--brand-950);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--accent-link);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--gold-500);
}

.eyebrow-on-dark {
	color: var(--gold-300);
}

/* ── Tombol ────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn .icon {
	transition: transform 0.15s ease;
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn-sm {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.9375rem;
}

.btn-gold {
	background: var(--gold-500);
	color: var(--brand-950);
}

.btn-gold:hover {
	background: var(--gold-300);
}

.btn-outline-light {
	border-color: rgb(255 255 255 / 0.38);
	color: #fff;
}

.btn-outline-light:hover {
	border-color: rgb(255 255 255 / 0.7);
	background: rgb(255 255 255 / 0.08);
}

.btn-primary {
	background: var(--btn-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--btn-primary-hover);
}

.btn-outline-light:focus-visible,
.btn-gold:focus-visible {
	outline-color: var(--gold-300);
}

.text-link {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--line-brand);
	text-decoration-thickness: 2px;
}

.text-link:hover {
	text-decoration-color: currentColor;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(6 37 25 / 0.94);
	color: #fff;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

@supports (backdrop-filter: blur(1px)) {
	.site-header {
		background: rgb(6 37 25 / 0.82);
		backdrop-filter: saturate(140%) blur(14px);
	}
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.brand img {
	width: 40px;
	height: auto;
}

.brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.brand-name {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand-sub {
	color: rgb(255 255 255 / 0.68);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav ul {
	display: flex;
	gap: 4px;
}

.primary-nav a,
.header-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 8px;
	color: rgb(255 255 255 / 0.82);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.primary-nav a:hover,
.header-link:hover {
	background: rgb(255 255 255 / 0.08);
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lang-switch {
	display: inline-flex;
	padding: 3px;
	border: 1px solid rgb(255 255 255 / 0.2);
	border-radius: 999px;
}

.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 32px;
	padding: 4px 10px;
	border-radius: 999px;
	color: rgb(255 255 255 / 0.72);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.lang-switch a:hover {
	color: #fff;
}

.lang-switch a[aria-current="true"] {
	background: rgb(255 255 255 / 0.14);
	color: #fff;
}

.site-header :focus-visible {
	outline-color: var(--gold-300);
}

.mobile-menu {
	display: none;
	margin-left: auto;
}

.mobile-menu summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgb(255 255 255 / 0.22);
	border-radius: var(--radius);
	cursor: pointer;
	list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
	display: none;
}

.mobile-menu summary .icon {
	width: 22px;
	height: 22px;
}

.mobile-menu .icon-close,
.mobile-menu[open] .icon-open {
	display: none;
}

.mobile-menu[open] .icon-close {
	display: block;
}

.mobile-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 8px var(--gutter) 20px;
	background: var(--brand-950);
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
	box-shadow: 0 24px 32px -12px rgb(0 0 0 / 0.5);
}

.mobile-panel a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 8px 4px;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 900px) {
	.primary-nav,
	.header-link,
	.header-actions .btn {
		display: none;
	}

	.header-actions {
		margin-left: auto;
	}

	.mobile-menu {
		display: block;
		margin-left: 0;
	}
}

@media (max-width: 420px) {
	.brand-sub {
		display: none;
	}

	.header-inner {
		gap: 10px;
	}

	.brand {
		gap: 8px;
	}

	.brand img {
		width: 32px;
	}

	.brand-name {
		font-size: 1rem;
	}

	.header-actions {
		gap: 8px;
	}

	.lang-switch a {
		min-width: 32px;
		padding: 4px 8px;
	}
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 104px) clamp(128px, 14vw, 168px);
	background: var(--brand-900);
	color: #fff;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 80% at 85% 10%, rgb(44 122 82 / 0.55), transparent 70%),
		radial-gradient(40% 50% at 100% 100%, rgb(212 161 42 / 0.16), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, rgb(6 37 25 / 0.9), transparent 70%),
		linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 45%, var(--brand-950) 100%);
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 90% at 75% 30%, #000 10%, transparent 75%);
	mask-image: radial-gradient(70% 90% at 75% 30%, #000 10%, transparent 75%);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}

.hero-grid-single {
	grid-template-columns: minmax(0, 860px);
}

.hero h1 {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	line-height: 1.08;
}

.hero-lead {
	max-width: 62ch;
	margin-top: 20px;
	color: rgb(255 255 255 / 0.82);
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero-issue {
	justify-self: end;
	width: 100%;
	max-width: 400px;
}

.issue-card {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	padding: 18px;
	border: 1px solid rgb(255 255 255 / 0.16);
	border-radius: var(--radius-xl);
	background: rgb(255 255 255 / 0.07);
	box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.12);
	color: #fff;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

@supports (backdrop-filter: blur(1px)) {
	.issue-card {
		backdrop-filter: blur(10px);
	}
}

.issue-card:hover {
	transform: translateY(-3px);
	border-color: rgb(237 203 118 / 0.5);
	background: rgb(255 255 255 / 0.1);
}

.issue-card:focus-visible {
	outline-color: var(--gold-300);
}

.issue-cover {
	width: 100%;
	aspect-ratio: 3 / 4.25;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 16px 32px -12px rgb(0 0 0 / 0.6);
	background: rgb(255 255 255 / 0.08);
}

.issue-card:not(:has(.issue-cover)) {
	grid-template-columns: minmax(0, 1fr);
}

.issue-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.issue-label {
	color: var(--gold-300);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.issue-journal {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
}

.issue-id {
	color: rgb(255 255 255 / 0.78);
	font-size: 0.9375rem;
}

.issue-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 0.9375rem;
	font-weight: 700;
}

.issue-card:hover .issue-cta .icon {
	transform: translateX(3px);
}

.issue-cta .icon {
	transition: transform 0.15s ease;
}

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

	.hero-issue {
		justify-self: start;
	}
}

@media (max-width: 420px) {
	.issue-card {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 16px;
		padding: 14px;
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}
}

/* ── Statistik ─────────────────────────────────────────────────────────── */
.stats {
	position: relative;
	z-index: 2;
	margin-top: calc(-1 * clamp(88px, 10vw, 112px));
}

.stats-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
	align-items: center;
	gap: clamp(24px, 4vw, 48px);
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface-raised);
	box-shadow: var(--shadow-lg);
}

.stats-head h2 {
	color: var(--accent-ink);
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
	line-height: 1.2;
}

.stats-head .eyebrow {
	margin-bottom: 8px;
}

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

.stat {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
	padding: 8px clamp(12px, 2vw, 24px);
	border-left: 1px solid var(--line);
}

.stat dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.stat dd {
	margin: 0;
	color: var(--accent-ink);
	font-family: var(--font-serif);
	font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums lining-nums;
}

.stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--surface-brand);
	color: var(--accent-link);
}

.stat-icon .icon {
	width: 17px;
	height: 17px;
}

.stat dt a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--line-brand);
	text-decoration-thickness: 2px;
}

.stat-linked {
	border-radius: var(--radius);
	transition: background-color 0.15s ease;
}

.stat-linked:hover {
	background: var(--surface-brand);
}

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

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

@media (max-width: 640px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 0;
	}

	.stat {
		padding-block: 4px;
	}

	.stat:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}
}

/* ── Section umum ──────────────────────────────────────────────────────── */
.section {
	padding-block: clamp(64px, 9vw, 112px);
}

.section-sunken {
	background: var(--surface-sunken);
	border-top: 1px solid var(--line);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2 {
	color: var(--accent-ink);
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	line-height: 1.15;
}

.count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6em;
	height: 1.6em;
	margin-left: 6px;
	padding: 0 0.45em;
	border-radius: 999px;
	background: var(--surface-brand);
	color: var(--accent-link);
	font-family: var(--font-sans);
	font-size: 0.5em;
	font-weight: 700;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
}

.stretched-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

/* ── Layanan ───────────────────────────────────────────────────────────── */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 24px;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface-raised);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: clamp(24px, 3vw, 36px);
	width: 56px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--brand-500);
}

.service-book::before {
	background: var(--gold-500);
}

.service-card:hover {
	border-color: var(--line-brand);
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: var(--surface-brand);
	color: var(--accent-link);
}

.service-book .service-icon {
	background: var(--surface-gold);
	color: var(--gold-ink);
}

.service-icon .icon {
	width: 26px;
	height: 26px;
	stroke-width: 1.75;
}

.service-label {
	color: var(--ink-subtle);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.service-card h3 {
	margin-top: 6px;
	color: var(--accent-ink);
	font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
	line-height: 1.2;
}

.service-body {
	margin-top: 12px;
	color: var(--ink-muted);
}

.service-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: 24px;
	font-weight: 700;
	text-decoration: none;
}

.service-cta .icon {
	transition: transform 0.15s ease;
}

.service-card:hover .service-cta .icon {
	transform: translate(2px, -2px);
}

.service-article:hover .service-cta .icon {
	transform: translateY(3px);
}

.service-card:has(.service-cta:focus-visible) {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.service-cta:focus-visible {
	outline: none;
}

/* ── Daftar jurnal ─────────────────────────────────────────────────────── */
.journal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr));
	gap: 24px;
}

.journal-card {
	display: grid;
	grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface-raised);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.journal-card:hover {
	border-color: var(--line-brand);
	box-shadow: var(--shadow-lg);
}

.journal-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	border-right: 1px solid var(--line);
	background: var(--surface-muted);
}

@media (prefers-color-scheme: dark) {
	/* Logo jurnal umumnya dirancang untuk latar terang. */
	.journal-thumb {
		background: #e8eeea;
	}
}

.journal-thumb img {
	width: 100%;
	max-height: 200px;
	object-fit: contain;
}

.journal-thumb-fallback {
	color: var(--brand-700);
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 700;
}

.journal-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(20px, 3vw, 28px);
}

.journal-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	color: var(--ink-subtle);
	font-size: 0.8125rem;
	font-weight: 600;
}

.tag {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--surface-gold);
	color: var(--gold-ink);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.journal-issn {
	font-variant-numeric: tabular-nums;
}

.journal-card h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.25;
}

.journal-card h3 a {
	color: var(--accent-ink);
	text-decoration: none;
}

.journal-card h3 a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.journal-publisher {
	margin-top: -4px;
	color: var(--ink-subtle);
	font-size: 0.875rem;
}

.journal-desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ink-muted);
	font-size: 0.9375rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
}

.journal-counts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	color: var(--ink-subtle);
	font-size: 0.875rem;
}

.journal-counts strong {
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.journal-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: auto;
	padding-top: 10px;
	font-size: 0.9375rem;
}

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

	.journal-thumb {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.journal-thumb img {
		max-height: 160px;
		width: auto;
	}
}

.empty-state {
	padding: 40px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	color: var(--ink-muted);
	text-align: center;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
	background: var(--brand-950);
	color: rgb(255 255 255 / 0.78);
	font-size: 0.9375rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 40px;
	padding-block: 56px 40px;
}

.footer-about .brand {
	color: #fff;
}

.footer-about p {
	max-width: 46ch;
	margin-top: 16px;
}

.footer-links h2 {
	margin-bottom: 12px;
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-links li + li {
	margin-top: 6px;
}

.site-footer a {
	color: rgb(255 255 255 / 0.85);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer :focus-visible {
	outline-color: var(--gold-300);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
	color: rgb(255 255 255 / 0.62);
	font-size: 0.8125rem;
}

.footer-bottom a {
	color: rgb(255 255 255 / 0.72);
}

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

/* ── Gerak ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}

	.service-card:hover,
	.issue-card:hover {
		transform: none;
	}
}

@media print {
	.site-header,
	.hero-bg,
	.hero-actions,
	.site-footer {
		display: none;
	}

	.hero {
		background: none;
		color: #000;
	}
}
