/*
Theme Name: anil-pahwa
Text Domain: anil-pahwa
Description: A light, editorial personal website for journalist and Deputy News Editor Anil Pahwa.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

/* Baseline applied before Tailwind resolves, so the page never flashes as
 * raw unstyled text on first paint. Kept deliberately minimal — colour,
 * type and rhythm only; no layout. */

html {
	scroll-behavior: smooth;
	background-color: #fbf8f2;
}

body {
	margin: 0;
	background-color: #fbf8f2;
	color: #5b5449;
	font-family: "Karla", "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: "Newsreader", Georgia, "Times New Roman", serif;
	font-weight: 400;
	color: #1f1c18;
	line-height: 1.15;
	margin: 0;
}

p, ul, ol, figure {
	margin: 0;
}

img, svg {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul, ol {
	padding: 0;
	list-style: none;
}

/* Alpine-controlled elements must stay hidden until Alpine boots. */
[x-cloak] {
	display: none !important;
}
