/*
Theme Name: Hill of Justice
Template: hello-elementor
Description: Hill of Justice — investigative media platform. Child of Hello Elementor.
Version: 1.0.0
*/

/* ---------- Brand tokens (Global Agency Brand Standards Manual v2.0) ---------- */
:root {
	--hoj-navy: #0E2B81;
	--hoj-blue: #0E53D5;
	--hoj-midnight: #07174A;
	--hoj-purple: #812C80;
	--hoj-magenta: #961E62;
	--hoj-plum: #591A43;
	--hoj-ink: #090A0F;
	--hoj-stone: #D7D2CB;
	--hoj-gray: #B0A79C;
	--hoj-paper: #F3F0EA;
	--hoj-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--hoj-serif: "DejaVu Serif", Georgia, serif;
	--hoj-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--hoj-max: 1200px;
}

@font-face {
	font-family: "Inter";
	src: url("fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "DejaVu Serif";
	src: url("fonts/DejaVuSerif-Bold.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

/* ---------- Base ---------- */
body {
	font-family: var(--hoj-body);
	color: var(--hoj-ink);
	background: var(--hoj-paper);
	margin: 0;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--hoj-blue); }
.hoj-wrap { max-width: var(--hoj-max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .hoj-display {
	font-family: var(--hoj-display);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.hoj-btn {
	display: inline-block;
	font-family: var(--hoj-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 15px;
	padding: 15px 28px;
	border-radius: 4px;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease;
	min-height: 44px;
	box-sizing: border-box;
}
.hoj-btn:hover { transform: translateY(-1px); }
.hoj-btn--primary { background: var(--hoj-blue); color: #fff; }
.hoj-btn--primary:hover { background: var(--hoj-navy); color: #fff; }
.hoj-btn--ghost { border: 2px solid var(--hoj-stone); color: var(--hoj-paper); }
.hoj-btn--ghost:hover { border-color: #fff; color: #fff; }
.hoj-btn--magenta { background: var(--hoj-magenta); color: #fff; }

/* ---------- Header ---------- */
.hoj-header {
	background: var(--hoj-midnight);
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.hoj-header__inner {
	max-width: var(--hoj-max); margin: 0 auto; padding: 0 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 68px;
}
.hoj-header__logo img { height: 40px; width: auto; display: block; }
.hoj-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hoj-nav a {
	color: var(--hoj-stone); text-decoration: none;
	font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em;
}
.hoj-nav a:hover, .hoj-nav .current-menu-item a { color: #fff; }
.hoj-header .hoj-btn { padding: 10px 18px; font-size: 13px; }
.hoj-menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hoj-hero {
	background: linear-gradient(135deg, var(--hoj-midnight) 0%, var(--hoj-navy) 70%, var(--hoj-blue) 130%);
	color: #fff;
	padding: 72px 0 64px;
}
.hoj-hero__kicker {
	color: var(--hoj-stone); font-weight: 700; letter-spacing: .18em;
	text-transform: uppercase; font-size: 13px; margin-bottom: 18px;
}
.hoj-hero h1 { font-size: clamp(34px, 5.2vw, 64px); color: #fff; max-width: 17ch; }
.hoj-hero p { max-width: 56ch; font-size: 18px; color: var(--hoj-stone); margin: 18px 0 30px; }
.hoj-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.hoj-section { padding: 64px 0; }
.hoj-section--dark { background: var(--hoj-midnight); color: #fff; }
.hoj-section--dark h2 { color: #fff; }
.hoj-section__label {
	font-weight: 900; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--hoj-magenta); margin-bottom: 10px;
}
.hoj-section--dark .hoj-section__label { color: var(--hoj-stone); }
.hoj-section h2 { font-size: clamp(26px, 3.4vw, 40px); }

/* ---------- Latest investigation ---------- */
.hoj-latest { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.hoj-latest__meta { font-size: 14px; color: var(--hoj-gray); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.hoj-latest h3 { font-size: clamp(22px, 2.6vw, 32px); }
.hoj-latest p { color: #333; }

/* ---------- Video facade (lite embed) ---------- */
.hoj-video { position: relative; aspect-ratio: 16/9; background: var(--hoj-ink); border-radius: 6px; overflow: hidden; cursor: pointer; }
.hoj-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoj-video__play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(0deg, rgba(9,10,15,.45), rgba(9,10,15,.05));
}
.hoj-video__play::after {
	content: ""; width: 74px; height: 52px; border-radius: 12px;
	background: var(--hoj-blue) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M8 5v14l11-7z'/></svg>") center/26px no-repeat;
	transition: background-color .15s;
}
.hoj-video:hover .hoj-video__play::after { background-color: var(--hoj-magenta); }
.hoj-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Cards ---------- */
.hoj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.hoj-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(9,10,15,.1); display: flex; flex-direction: column; transition: transform .15s; }
.hoj-card:hover { transform: translateY(-3px); }
.hoj-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--hoj-stone); }
.hoj-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoj-card__body { padding: 18px 20px 22px; }
.hoj-card__meta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--hoj-gray); margin-bottom: 8px; }
.hoj-card h3 { font-size: 17px; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.hoj-card h3 a { color: var(--hoj-ink); text-decoration: none; }
.hoj-card h3 a:hover { color: var(--hoj-blue); }
.hoj-badge { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; background: var(--hoj-magenta); color: #fff; margin-bottom: 10px; }

/* ---------- Case file cards ---------- */
.hoj-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 34px; }
.hoj-case-card {
	position: relative; border-radius: 6px; overflow: hidden; min-height: 260px;
	display: flex; align-items: flex-end; text-decoration: none;
	background: linear-gradient(160deg, var(--hoj-navy), var(--hoj-plum));
}
.hoj-case-card__img { position: absolute; inset: 0; }
.hoj-case-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hoj-case-card__body { position: relative; padding: 26px; color: #fff; }
.hoj-case-card__status { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--hoj-stone); }
.hoj-case-card h3 { color: #fff; font-size: 24px; margin: 6px 0 4px; }
.hoj-case-card__open { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--hoj-stone); }
.hoj-case-card:hover .hoj-case-card__open { color: #fff; }

/* ---------- Hill Method strip ---------- */
.hoj-method { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 34px; }
.hoj-method__step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; padding: 18px 12px; text-align: center; }
.hoj-method__num { font-size: 12px; font-weight: 900; color: var(--hoj-magenta); }
.hoj-method__step h4 { color: #fff; font-size: 13px; margin: 6px 0 0; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Challenge band ---------- */
.hoj-challenge { background: linear-gradient(120deg, var(--hoj-plum), var(--hoj-magenta)); color: #fff; text-align: center; }
.hoj-challenge h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.hoj-challenge p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 12px auto 28px; }

/* ---------- Signup ---------- */
.hoj-signup { text-align: center; }
.hoj-signup form { display: flex; gap: 10px; max-width: 480px; margin: 26px auto 0; }
.hoj-signup input[type="email"] {
	flex: 1; padding: 14px 16px; border: 2px solid var(--hoj-stone); border-radius: 4px;
	font-size: 16px; font-family: var(--hoj-body); background: #fff;
}

/* ---------- Footer ---------- */
.hoj-footer { background: var(--hoj-ink); color: var(--hoj-gray); padding: 48px 0 32px; }
.hoj-footer__inner { max-width: var(--hoj-max); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hoj-footer a { color: var(--hoj-stone); text-decoration: none; }
.hoj-footer a:hover { color: #fff; }
.hoj-footer__nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.hoj-footer__legal { font-size: 13px; margin-top: 26px; text-align: center; width: 100%; }

/* ---------- Single investigation ---------- */
.hoj-single-head { background: var(--hoj-midnight); color: #fff; padding: 48px 0 0; }
.hoj-single-head .hoj-wrap { max-width: 900px; }
.hoj-single-head h1 { font-size: clamp(26px, 3.6vw, 42px); color: #fff; text-transform: none; }
.hoj-single-head__meta { color: var(--hoj-gray); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.hoj-single-video { margin: 30px auto -70px; max-width: 900px; padding: 0 20px; }
.hoj-single-body { max-width: 700px; margin: 100px auto 0; padding: 0 20px 60px; font-size: 17px; }
.hoj-single-body .hoj-factbox { background: #fff; border-left: 4px solid var(--hoj-blue); padding: 18px 22px; border-radius: 4px; margin: 26px 0; }
.hoj-factbox h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--hoj-navy); }
.hoj-factbox p, .hoj-factbox li { font-size: 15px; margin: 0; }
.hoj-related { background: #fff; padding: 50px 0 64px; }

/* ---------- Case file single ---------- */
.hoj-cf-head { background: linear-gradient(150deg, var(--hoj-midnight), var(--hoj-plum)); color: #fff; padding: 60px 0; }
.hoj-cf-head h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); }
.hoj-cf-status { display: inline-block; background: var(--hoj-magenta); color: #fff; font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 16px; }
.hoj-cf-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; margin-top: 44px; }
.hoj-cf-section { margin-bottom: 34px; }
.hoj-cf-section h3 { font-size: 15px; letter-spacing: .1em; color: var(--hoj-navy); border-bottom: 2px solid var(--hoj-stone); padding-bottom: 8px; }
.hoj-cf-side { background: #fff; border-radius: 6px; padding: 24px; align-self: start; box-shadow: 0 1px 3px rgba(9,10,15,.1); }
.hoj-cf-side h3 { font-size: 14px; letter-spacing: .1em; }
.hoj-cf-side ul { padding-left: 18px; margin: 8px 0 20px; font-size: 15px; }

/* ---------- Archive ---------- */
.hoj-archive-head { background: var(--hoj-midnight); color: #fff; padding: 52px 0; }
.hoj-archive-head h1 { color: #fff; }
.hoj-pagination { text-align: center; margin: 44px 0 20px; }
.hoj-pagination .page-numbers { display: inline-block; padding: 9px 15px; background: #fff; border-radius: 4px; margin: 0 3px; text-decoration: none; font-weight: 700; color: var(--hoj-ink); }
.hoj-pagination .current { background: var(--hoj-blue); color: #fff; }

/* ---------- Overrides vs legacy Elementor kit globals ---------- */
body h1, body h2, body h3, body .hoj-display,
body .hoj-card h3, body .hoj-case-card h3 {
	font-family: var(--hoj-display) !important;
	font-weight: 900 !important;
}
body .hoj-btn, body button.hoj-btn {
	font-family: var(--hoj-display) !important;
	font-weight: 900 !important;
	border: 0;
	cursor: pointer;
}
body button.hoj-btn--primary { background: var(--hoj-blue); color: #fff; }
body .hoj-method__step h4 { color: #fff !important; }
body { font-family: var(--hoj-body) !important; }
body .hoj-latest h3, body .hoj-card h3, body .hoj-card h3 a,
body .hoj-section:not(.hoj-section--dark):not(.hoj-challenge) h2 { color: var(--hoj-ink) !important; }
body .hoj-card h3 a:hover { color: var(--hoj-blue) !important; }
body .hoj-btn--ghost { border: 2px solid var(--hoj-stone) !important; color: var(--hoj-paper) !important; padding: 13px 26px !important; }
body .hoj-hero h1, body .hoj-section--dark h2, body .hoj-challenge h2, body .hoj-case-card h3 { color: #fff !important; }
body .hoj-cf-section h3, body .hoj-cf-side h3 { color: var(--hoj-navy) !important; }
body .hoj-cf-grid p, body .hoj-cf-grid li, body .hoj-single-body p, body .hoj-single-body li,
body .hoj-section .hoj-latest p { color: var(--hoj-ink) !important; }
body .hoj-factbox h4 { color: var(--hoj-navy) !important; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
	.hoj-latest, .hoj-cf-grid { grid-template-columns: 1fr; }
	.hoj-grid { grid-template-columns: repeat(2, 1fr); }
	.hoj-method { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 680px) {
	.hoj-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--hoj-midnight); padding: 18px 20px 24px; }
	.hoj-nav.is-open { display: block; }
	.hoj-nav ul { flex-direction: column; gap: 16px; }
	.hoj-menu-toggle { display: block; }
	.hoj-grid, .hoj-case-grid { grid-template-columns: 1fr; }
	.hoj-method { grid-template-columns: repeat(2, 1fr); }
	.hoj-hero { padding: 48px 0 44px; }
	.hoj-hero__ctas .hoj-btn { width: 100%; text-align: center; }
	.hoj-signup form { flex-direction: column; }
	.hoj-section { padding: 44px 0; }
}
