/**
 * Typography System
 * Playfair Display for headings (H1–H4), Montserrat for body and navigation.
 */

/* Google Fonts are enqueued in functions.php (Montserrat, Playfair Display) for HTTPS and performance. */

:root {
	/* Font Families – Design: Montserrat (menus, body), Playfair Display (headings) */
	--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	
	/* Font Sizes */
	--font-size-xs: 0.75rem;    /* 12px */
	--font-size-sm: 0.875rem;   /* 14px */
	--font-size-base: 1rem;     /* 16px */
	--font-size-lg: 1.125rem;   /* 18px */
	--font-size-xl: 1.25rem;    /* 20px */
	--font-size-2xl: 1.5rem;    /* 24px */
	--font-size-3xl: 1.875rem;  /* 30px */
	--font-size-4xl: 2.25rem;   /* 36px */
	--font-size-5xl: 3rem;      /* 48px */
	--font-size-6xl: 3.75rem;   /* 60px */
	
	/* Line Heights */
	--line-height-tight: 1.25;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.75;
	
	/* Font Weights */
	--font-weight-normal: 400;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
}

/* Base Typography */
body {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
	line-height: var(--line-height-normal);
	color: var(--color-text-dark);
	background-color: var(--color-bg-light);
	margin: 0;
	padding: 0;
}

/* Headings - Serif Font */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: var(--font-weight-semibold);
	line-height: var(--line-height-tight);
	color: var(--color-text-dark);
	margin-top: 0;
	margin-bottom: var(--spacing-md);
}

h1 {
	font-size: var(--font-size-4xl);
	font-weight: var(--font-weight-bold);
}

h2 {
	font-size: var(--font-size-3xl);
}

h3 {
	font-size: var(--font-size-2xl);
}

h4 {
	font-size: var(--font-size-xl);
}

h5 {
	font-size: var(--font-size-lg);
}

h6 {
	font-size: var(--font-size-base);
}

/* Paragraphs */
p {
	margin-bottom: var(--spacing-md);
	font-family: var(--font-sans);
	line-height: var(--line-height-relaxed);
}

/* Links */
a {
	color: var(--color-text-dark);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus {
	color: var(--color-primary-dark-green);
	text-decoration: underline;
}

/* Navigation - Sans-serif, Uppercase */
.main-navigation {
	font-family: var(--font-sans);
	font-weight: var(--font-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: var(--font-size-sm);
}

/* Site Title */
.site-title {
	font-family: var(--font-sans);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Screen Reader Text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
