/*
Theme Name: ERIC KIM Fitness HyperSearch
Theme URI: https://erickimfitness.com/
Author: ERIC KIM + ChatGPT
Author URI: https://erickimfitness.com/
Description: Ultra-fast PHP 8 WordPress theme for erickimfitness.com. Strength-first, AI-search optimized, zero external fonts, zero theme JavaScript, JSON-LD schema, llms.txt, PR index, training log, and brutal minimalist fitness typography.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eric-kim-fitness-hypersearch
Tags: blog, custom-menu, featured-images, full-width-template, editor-style, theme-options
*/

:root {
	--ekf-bg: #f6f3e8;
	--ekf-fg: #050505;
	--ekf-line: #050505;
	--ekf-muted: #3a3328;
	--ekf-paper: #fffdf5;
	--ekf-accent: #ffef62;
	--ekf-red: #d40000;
	--ekf-max: 96rem;
	--ekf-content: 64rem;
	--ekf-gap: clamp(1rem, 3.5vw, 3.25rem);
	--ekf-h1: clamp(3.4rem, 13vw, 12rem);
	--ekf-h2: clamp(2.3rem, 8vw, 7rem);
	--ekf-body: clamp(1.12rem, 1.45vw, 1.52rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
	margin: 0;
	background: var(--ekf-bg);
	color: var(--ekf-fg);
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: var(--ekf-body);
	font-weight: 950;
	line-height: 1.03;
	letter-spacing: -0.055em;
	text-rendering: optimizeLegibility;
}

a { color: currentColor; text-decoration-thickness: 0.12em; text-underline-offset: 0.14em; }
a:hover, a:focus { text-decoration-style: wavy; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
::selection { background: #000; color: #fff; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 1rem;
	z-index: 1000;
	background: #000;
	color: #fff;
	padding: 0.75rem 1rem;
}
.skip-link:focus { left: 1rem; }
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.site-header, .site-footer {
	max-width: var(--ekf-max);
	margin: 0 auto;
	padding: var(--ekf-gap);
}
.site-header {
	border-bottom: 0.32rem solid var(--ekf-line);
	display: grid;
	gap: 1rem;
	background:
		linear-gradient(90deg, transparent 0, transparent calc(100% - 2px), rgba(0,0,0,.16) calc(100% - 2px)),
		linear-gradient(0deg, transparent 0, transparent calc(100% - 2px), rgba(0,0,0,.12) calc(100% - 2px)),
		var(--ekf-bg);
	background-size: 3.4rem 3.4rem;
}
.site-branding { display: grid; gap: 0.35rem; }
.site-title {
	font-size: clamp(2.35rem, 7vw, 6.8rem);
	font-weight: 1000;
	line-height: 0.76;
	letter-spacing: -0.13em;
	text-transform: uppercase;
	margin: 0;
	max-width: 14ch;
}
.site-title a { text-decoration: none; }
.site-description {
	margin: 0;
	max-width: 64rem;
	font-size: clamp(1rem, 2vw, 1.45rem);
	font-weight: 1000;
	line-height: 0.93;
	letter-spacing: -0.045em;
	text-transform: uppercase;
}
.main-navigation .menu, .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
.main-navigation a, .menu a {
	display: inline-block;
	border: 0.18rem solid #000;
	background: var(--ekf-paper);
	padding: 0.42rem 0.62rem;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.84rem;
	font-weight: 1000;
	letter-spacing: -0.025em;
	box-shadow: 0.16rem 0.16rem 0 #000;
}
.main-navigation a:hover, .menu a:hover { background: #000; color: #fff; transform: translate(0.06rem, 0.06rem); box-shadow: 0.08rem 0.08rem 0 #000; }

.site-main, .main-content {
	max-width: var(--ekf-max);
	margin: 0 auto;
	padding: var(--ekf-gap);
}
.hero {
	padding: clamp(1rem, 5vw, 4.5rem) 0;
	border-bottom: 0.32rem solid #000;
}
.hero-kicker, .archive-label, .card-label, .entry-meta {
	font-size: clamp(0.78rem, 1.3vw, 1rem);
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-weight: 1000;
}
.hero-title, .page-title, .entry-title {
	margin: 0;
	font-size: var(--ekf-h1);
	font-weight: 1000;
	line-height: 0.72;
	letter-spacing: -0.145em;
	text-transform: uppercase;
	max-width: 12ch;
}
.hero-subtitle, .archive-description {
	max-width: 68rem;
	font-size: clamp(1.5rem, 3.2vw, 3.2rem);
	line-height: 0.92;
	margin: 1rem 0 0;
	letter-spacing: -0.075em;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
	gap: 0;
	border-left: 0.2rem solid #000;
	border-top: 0.2rem solid #000;
	margin-top: var(--ekf-gap);
	background: var(--ekf-paper);
}
.card {
	padding: clamp(1rem, 2vw, 1.65rem);
	border-right: 0.2rem solid #000;
	border-bottom: 0.2rem solid #000;
	min-height: 20rem;
	display: grid;
	align-content: space-between;
	gap: 1.25rem;
}
.card:hover { background: var(--ekf-accent); }
.card-title {
	margin: 0.35rem 0 0;
	font-size: clamp(2rem, 4vw, 4.6rem);
	font-weight: 1000;
	line-height: 0.75;
	letter-spacing: -0.12em;
	text-transform: uppercase;
}
.card-title a { text-decoration: none; }
.card-excerpt, .card-pr {
	margin: 0;
	font-size: clamp(1.1rem, 1.9vw, 1.55rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
	color: var(--ekf-muted);
}
.card-pr {
	font-size: clamp(1.8rem, 4vw, 4.8rem);
	line-height: 0.78;
	letter-spacing: -0.13em;
	text-transform: uppercase;
	color: #000;
}
.entry-meta { color: var(--ekf-muted); }
.entry-meta a { color: #000; }

.singular {
	max-width: var(--ekf-content);
	margin: 0 auto;
	padding-top: var(--ekf-gap);
}
.entry-header { display: grid; gap: 1rem; margin-bottom: var(--ekf-gap); }
.post-thumbnail { margin: var(--ekf-gap) 0; border: 0.22rem solid #000; background: #fff; }
.entry-content {
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
	font-size: clamp(1.34rem, 2.35vw, 2.28rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.052em;
}
.entry-content > * { margin-block: 0 1.05em; }
.entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 1000;
	line-height: 0.76;
	letter-spacing: -0.13em;
	text-transform: uppercase;
	margin-top: 1.25em;
}
.entry-content h2 { font-size: var(--ekf-h2); }
.entry-content h3 { font-size: clamp(2.1rem, 5vw, 4.5rem); }
.entry-content blockquote {
	margin-inline: 0;
	border-left: 0.34rem solid #000;
	padding-left: 1rem;
	font-style: normal;
	font-size: 1.12em;
	line-height: 1.02;
	background: #fffdf5;
}
.entry-content code, .entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.82em;
	letter-spacing: -0.025em;
}

.fitness-card, .machine-card {
	border: 0.24rem solid #000;
	background: var(--ekf-paper);
	padding: clamp(1rem, 2vw, 1.4rem);
	margin: var(--ekf-gap) 0;
	box-shadow: 0.45rem 0.45rem 0 #000;
}
.fitness-card p { margin: 0.75rem 0 0; }
.mega-stat {
	font-size: clamp(2.4rem, 8vw, 7.5rem);
	font-weight: 1000;
	line-height: 0.72;
	letter-spacing: -0.15em;
	text-transform: uppercase;
	color: var(--ekf-red);
}
.machine-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.85rem;
}
.machine-links a, .tag-list a, .page-numbers {
	display: inline-block;
	border: 0.16rem solid #000;
	padding: 0.32rem 0.48rem;
	background: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.82rem;
	font-weight: 1000;
	letter-spacing: -0.02em;
}
.machine-links a:hover, .tag-list a:hover, .page-numbers.current { background: #000; color: #fff; }

.search-form {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}
.search-field {
	width: min(100%, 42rem);
	border: 0.2rem solid #000;
	background: #fff;
	padding: 0.6rem 0.75rem;
	border-radius: 0;
}
.search-submit {
	border: 0.2rem solid #000;
	background: #000;
	color: #fff;
	padding: 0.6rem 0.85rem;
	border-radius: 0;
	text-transform: uppercase;
	cursor: pointer;
}
.search-submit:hover { background: var(--ekf-red); }
.entry-footer { margin-top: var(--ekf-gap); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.navigation.pagination { margin-top: var(--ekf-gap); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.site-footer { border-top: 0.32rem solid #000; }
.footer-line { margin: 1rem 0 0; text-transform: uppercase; font-size: 0.95rem; letter-spacing: -0.02em; }

@media (max-width: 680px) {
	.site-header, .site-footer, .site-main { padding: 1rem; }
	.hero-title, .page-title, .entry-title { letter-spacing: -0.12em; }
	.post-grid { grid-template-columns: 1fr; }
	.search-form { display: grid; }
	.search-field { width: 100%; }
}
