/*
Theme Name: Adam Health Theme
Theme URI: https://health.sheikhowais.com
Author: Aurelian Consulting Solutions
Description: Minimal companion theme for Adam Health Tracker — applies the instrument-panel design system (ink-navy base, brass accent) site-wide.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: adam-health-theme
*/

:root {
	--aht-bg: #10151b;
	--aht-panel: #1b232c;
	--aht-panel-alt: #212b35;
	--aht-border: #2c3641;
	--aht-text: #e8ecef;
	--aht-text-dim: #8a97a3;
	--aht-brass: #c98a4b;
	--aht-brass-soft: rgba(201, 138, 75, 0.18);
	--aht-good: #6fa88a;
	--aht-warn: #c1554a;

	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'IBM Plex Sans', sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--aht-bg);
	color: var(--aht-text);
	font-family: var(--font-body);
	line-height: 1.6;
}

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

a { color: var(--aht-brass); }
a:hover { color: #dba36a; }

.aht-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header ---------- */
.aht-header {
	border-bottom: 1px solid var(--aht-border);
	padding: 18px 0;
}

.aht-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.aht-logo {
	font-family: var(--font-mono);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aht-text);
	text-decoration: none;
}

.aht-logo span { color: var(--aht-brass); }

.aht-nav ul {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
}

.aht-nav a {
	color: var(--aht-text-dim);
	text-decoration: none;
	font-size: 14px;
}

.aht-nav a:hover { color: var(--aht-text); }

.aht-btn {
	display: inline-block;
	background: var(--aht-brass);
	color: #1a1206;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 6px;
}

.aht-btn:hover { color: #1a1206; box-shadow: 0 4px 18px var(--aht-brass-soft); }

.aht-btn--ghost {
	background: transparent;
	border: 1px solid var(--aht-border);
	color: var(--aht-text);
}

/* ---------- Hero ---------- */
.aht-hero {
	padding: 80px 0 60px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

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

.aht-eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aht-brass);
	margin-bottom: 10px;
}

.aht-hero h1 { font-size: 42px; max-width: 14ch; }

.aht-hero p {
	color: var(--aht-text-dim);
	font-size: 16px;
	max-width: 46ch;
	margin: 16px 0 26px;
}

.aht-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.aht-hero__gauge {
	background: radial-gradient(circle at 50% 30%, var(--aht-panel-alt), var(--aht-panel) 70%);
	border: 1px solid var(--aht-border);
	border-radius: 12px;
	padding: 30px;
	text-align: center;
}

.aht-hero__gauge svg { width: 100%; max-width: 220px; }

.aht-hero__gauge-score {
	font-family: var(--font-mono);
	font-size: 40px;
	font-weight: 600;
	margin-top: -130px;
}

.aht-hero__gauge-label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--aht-brass);
}

/* ---------- Feature grid ---------- */
.aht-features {
	padding: 40px 0 70px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 860px) {
	.aht-features { grid-template-columns: 1fr; }
}

.aht-feature {
	background: var(--aht-panel);
	border: 1px solid var(--aht-border);
	border-radius: 10px;
	padding: 22px;
}

.aht-feature .aht-eyebrow { margin-bottom: 6px; }
.aht-feature h3 { font-size: 17px; margin-bottom: 8px; }
.aht-feature p { color: var(--aht-text-dim); font-size: 14px; margin: 0; }

/* ---------- Generic page/post content ---------- */
.aht-page {
	padding: 50px 0 70px;
	max-width: 760px;
	margin: 0 auto;
}

.aht-page .entry-title { font-size: 30px; }
.aht-page .entry-content { color: var(--aht-text); }
.aht-page .entry-content p { color: var(--aht-text-dim); }

/* ---------- Footer ---------- */
.aht-footer {
	border-top: 1px solid var(--aht-border);
	padding: 24px 0;
	color: var(--aht-text-dim);
	font-family: var(--font-mono);
	font-size: 12px;
	text-align: center;
}
