/*
Theme Name: Schkewl
Theme URI: https://schkewl.com
Author: Schkewl
Description: A custom, production-ready theme for schkewl.com — an exam-notification and roadmap platform covering 10th, 12th, UG, PG and foreign-university admissions. Built around a live phase-date ticker, qualification-based navigation, and a clean editorial blog layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schkewl
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
	--sch-bg: #f6f7f9;
	--sch-surface: #ffffff;
	--sch-ink: #0f172a;
	--sch-ink-soft: #475569;
	--sch-ink-muted: #94a3b8;
	--sch-border: #e5e8ee;

	--sch-navy: #0f172a;
	--sch-navy-soft: #1e293b;
	--sch-amber: #f59e0b;
	--sch-amber-ink: #7c4a05;
	--sch-sky: #0ea5e9;
	--sch-green: #16a34a;

	--sch-radius-sm: 8px;
	--sch-radius: 14px;
	--sch-radius-lg: 20px;
	--sch-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 30px rgba(15,23,42,.06);
	--sch-shadow-hover: 0 4px 10px rgba(15,23,42,.08), 0 16px 36px rgba(15,23,42,.10);

	--sch-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--sch-container: 1180px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--sch-font);
	background: var(--sch-bg);
	color: var(--sch-ink);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--sch-ink-soft); }

.sch-container {
	max-width: var(--sch-container);
	margin: 0 auto;
	padding: 0 24px;
}

.sch-section { padding: 64px 0; }
.sch-section--tight { padding: 40px 0; }

.sch-eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sch-sky);
	margin-bottom: 10px;
}

.sch-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.sch-section-head h2 { margin: 0; }
.sch-section-head p { margin: 6px 0 0; }

/* Buttons */
.sch-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14.5px;
	border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sch-btn:hover { transform: translateY(-1px); }
.sch-btn--primary { background: var(--sch-amber); color: #29190a; }
.sch-btn--primary:hover { box-shadow: var(--sch-shadow-hover); }
.sch-btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.sch-btn--dark { background: var(--sch-navy); color: #fff; }
.sch-btn--outline { background: transparent; border-color: var(--sch-border); color: var(--sch-ink); }

/* Pills / badges */
.sch-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
}
.sch-pill--amber  { background: #fef3c7; color: var(--sch-amber-ink); }
.sch-pill--sky    { background: #e0f2fe; color: #075985; }
.sch-pill--green  { background: #dcfce7; color: #166534; }
.sch-pill--gray   { background: #f1f5f9; color: var(--sch-ink-soft); }

/* Cards */
.sch-card {
	background: var(--sch-surface);
	border: 1px solid var(--sch-border);
	border-radius: var(--sch-radius);
	box-shadow: var(--sch-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}
.sch-card:hover { box-shadow: var(--sch-shadow-hover); transform: translateY(-2px); }

/* Grids */
.sch-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sch-grid--5 { grid-template-columns: repeat(5, 1fr); }
.sch-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

@media (max-width: 900px) {
	.sch-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* Accessibility */
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
