/**
 * Base Styles — reset, typography defaults, layout primitives.
 *
 * Per theme-architecture/CSS_ARCHITECTURE.md. Loaded on every template,
 * immediately after tokens.css. Ported from prototype/styles.css.
 */

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	line-height: 1.2;
	margin: 0 0 var(--space-3) 0;
	color: var(--color-text);
}

p { margin: 0 0 var(--space-3) 0; }
button { font-family: inherit; cursor: pointer; }

.container {
	max-width: var(--bp-wide);
	margin: 0 auto;
	padding: 0 var(--space-3);
}

.visually-hidden {
	position: absolute;
	left: -9999px;
}

:focus-visible {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: #fff;
	padding: var(--space-2) var(--space-3); z-index: 300;
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); }

.section { padding: var(--space-7) 0; }
.section-header { margin-bottom: var(--space-5); }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-header p { color: var(--color-text-muted); max-width: 600px; }

.eyebrow {
	font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--color-secondary); font-weight: 600; display: block; margin-bottom: var(--space-2);
}

/* Breadcrumbs — sitewide component, fired via the haritazen_breadcrumbs
   action (inc/seo.php) from header.php on every non-front-page template.
   Lives in base.css (always loaded), not a template-specific stylesheet,
   since breadcrumbs are not exclusive to any one content type. */
.breadcrumbs { padding: var(--space-2) 0; }
.breadcrumbs__list {
	display: flex; flex-wrap: wrap; gap: var(--space-1); list-style: none;
	margin: 0; padding: 0 var(--space-3); max-width: var(--bp-wide); margin-left: auto; margin-right: auto;
	font-size: 0.8125rem; color: var(--color-text-muted);
}
.breadcrumbs__item:not(:last-child)::after {
	content: "/"; margin-left: var(--space-1); color: var(--color-text-muted);
}
.breadcrumbs__list a { color: var(--color-text-muted); }
.breadcrumbs__list a:hover { color: var(--color-primary); }
.breadcrumbs__list [aria-current="page"] { color: var(--color-text); font-weight: 500; }
