/* ==========================================================================
   Cafe Zocalo — global.css
   Design tokens, resets, and base typography. Loaded on every page.
   ========================================================================== */

:root {
	/* Core backgrounds — light, warm, Old Towne café */
	--bg-primary: #FAF6F0;     /* parchment cream — page background */
	--surface: #FFFFFF;        /* card / surface white */
	--surface-warm: #F2EADC;   /* warm ivory — alternate surface */
	--surface-deep: #EFE5D3;   /* deeper cream for elevation */
	--line: #E5D9C3;           /* warm divider line */

	/* Dark shell (header + footer) — espresso & charcoal */
	--espresso: #2A1F18;
	--charcoal: #3D2E25;
	--charcoal-light: #4F3D32;

	/* Brand accents */
	--terracotta: #C75D3E;
	--terracotta-deep: #A14729;
	--terracotta-dim: rgba(199, 93, 62, 0.12);
	--gold: #B8956A;
	--gold-light: #D4B896;
	--sage: #8FA988;
	--sage-deep: #6A8767;

	/* Text */
	--ink: #2A1F18;
	--ink-mid: #5C4A3E;
	--ink-soft: #8B7868;
	--ink-light: #A89684;
	--pure-white: #FFFFFF;

	/* Typography */
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: 'Space Mono', monospace;

	/* Layout */
	--container: 1200px;
	--container-wide: 1400px;
	--radius: 10px;
	--radius-lg: 14px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--bg-primary);
	color: var(--ink-mid);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--terracotta);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--terracotta-deep);
}

/* Lists carry theme margins by default — reset them so layouts stay tight. */
ul,
ol {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

/* Visible keyboard focus for all links. */
a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

/* ── Base typography ───────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.15;
	font-weight: 600;
}

p {
	margin: 0 0 1rem;
}

p:last-child {
	margin-bottom: 0;
}

/* ── Layout helpers ────────────────────────────────────────────────────── */
.cz-container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.cz-main {
	display: block;
}

/* Section title — display serif, shared across pages */
.cz-section-title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.5px;
	margin-bottom: 16px;
}

.cz-section-title--center {
	text-align: center;
}

/* Eyebrow / small mono caps label */
.cz-eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--terracotta-deep);
	margin-bottom: 14px;
}

.cz-eyebrow--center {
	text-align: center;
}

/* Inline text link with arrow */
.cz-link {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--terracotta-deep);
}

.cz-link--strong {
	font-size: 15px;
}

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cz-skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 18px;
	background: var(--espresso);
	color: var(--gold-light);
	border-radius: 6px;
}
