/* ==========================================================================
   Base / reset / typography
   ========================================================================== */

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

* { margin: 0; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	







	letter-spacing: 0.15px;
	color: var(--c-body);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	




	overflow-x: clip;
}

img,
picture,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }

/* Remove the ~300ms double-tap-zoom wait so taps navigate/act immediately. */
a, button, [role="button"], input[type="submit"] { touch-action: manipulation; }

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: var(--lh-heading);
	color: var(--c-ink);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: 1.3; font-weight: 700; letter-spacing: 0.5px; }   
h2 { font-size: var(--fs-h2); line-height: 1.268; }  
h3 { font-size: var(--fs-h3); line-height: 1.25; }   
h4 { font-size: var(--fs-h4); line-height: 1.262; }  
h5 { font-size: var(--fs-h5); line-height: 1.265; }  
h6 { font-size: var(--fs-h6); line-height: 1.25; }   

p { text-wrap: pretty; }

:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--c-primary); color: #fff; }

.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;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 1000;
	background: var(--c-primary);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--r-xs) 0;
}

/* Responsive line-break helpers ------------------------------------------------
   Control WHERE a heading/paragraph breaks per device without duplicating the
   text - the same content stays in the DOM at every width (good for SEO + a11y).
     <br class="br-desktop">  break only on desktop, reflows on mobile
     <br class="br-mobile">   break only on mobile, reflows on desktop
   Mobile boundary matches the rest of the theme (<=768px). Put a normal space
   before a br-desktop unless the break sits inside a hyphenated word, so the
   text reads correctly once the break is removed on mobile. */
.br-mobile { display: none; }
@media (max-width: 768px) {
	.br-desktop { display: none; }
	.br-mobile { display: inline; }
}
.skip-link:focus { left: 0; }

/* Utility bits */
.eyebrow {
	font-family: var(--font-heading);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-primary);
}


.eyebrow--muted { color: #63686D; text-transform: none; font-size: 1rem; line-height: 1.25; letter-spacing: 0.15px; }

.text-muted { color: var(--c-muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
