/* =========================================================================
 * H44 Lacrosse — global styles
 * Base reset, typography, layout primitives, buttons, header/footer.
 * ====================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-link); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--color-accent); }

/* ---- Headings ---- */
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--color-heading);
	line-height: 1.05;
	margin: 0 0 0.5em;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}
h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1.25em; }

/* ---- Layout primitives ---- */
.h44-container {
	width: 100%;
	max-width: var(--content-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.h44-section { padding-block: var(--space-lg); }
.h44-section--tight { padding-block: var(--space-md); }

/* ---- Buttons ---- */
.h44-btn {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 1rem;
	padding: 0.85em 1.9em;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
	text-align: center;
}
.h44-btn:hover { transform: translateY(-2px); }

.h44-btn--primary { background: var(--h44-gold); color: var(--h44-navy-deep); }
.h44-btn--primary:hover { background: var(--h44-gold-bright); color: var(--h44-navy-deep); }

.h44-btn--navy { background: var(--h44-navy); color: var(--h44-white); }
.h44-btn--navy:hover { background: var(--h44-navy-deep); color: var(--h44-white); }

.h44-btn--ghost { background: transparent; color: var(--h44-white); border-color: var(--h44-gold); }
.h44-btn--ghost:hover { background: var(--h44-gold); color: var(--h44-navy-deep); }

/* ---- Header ---- */
.h44-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--h44-navy);
	color: var(--h44-white);
	box-shadow: 0 2px 20px rgba(17, 24, 48, 0.25);
}
.h44-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: 76px;
}
.h44-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--h44-white);
	line-height: 1;
}
.h44-logo svg { width: 140px; height: auto; }
.h44-logo__mark { height: 46px; width: auto; display: block; }
/* Bold "LACROSSE" wordmark sized to span the monogram width (matches logo). */
.h44-logo__wordmark {
	font-family: var(--font-display);
	text-transform: uppercase;
	/* fill the mark's width without hand-tuning per size */
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	font-weight: 400; /* Anton is already heavy */
	color: var(--h44-white);
	line-height: 1;
	align-self: stretch;
	text-align: center;
}
.h44-footer__logo .h44-logo__mark { height: 60px; }
.h44-footer__logo .h44-logo__wordmark { font-size: 1.2rem; letter-spacing: 0.1em; }

.h44-nav ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.h44-nav a {
	color: var(--h44-white);
	font-family: var(--font-heading);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
}
.h44-nav a:hover { color: var(--h44-gold-bright); }

/* Mobile nav toggle */
.h44-nav-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--h44-white);
	font-size: 1.6rem;
	cursor: pointer;
}

@media (max-width: 860px) {
	.h44-nav-toggle { display: block; }
	.h44-nav {
		position: absolute;
		inset: 76px 0 auto 0;
		background: var(--h44-navy-deep);
		display: none;
	}
	.h44-nav.is-open { display: block; }
	.h44-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: var(--gutter); }
	.h44-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
	.h44-nav a { display: block; padding: 0.9rem 0; }
}

/* ---- Footer ---- */
.h44-footer {
	background: var(--h44-navy-deep);
	color: var(--h44-cream);
	padding-block: var(--space-lg) var(--space-md);
	margin-top: var(--space-xl);
}
.h44-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: var(--space-md);
}
.h44-footer a { color: var(--h44-cream); }
.h44-footer a:hover { color: var(--h44-gold-bright); }
.h44-footer__logo { color: var(--h44-white); }
.h44-footer__logo svg { width: 150px; }
.h44-footer h4 { color: var(--h44-gold-bright); margin-bottom: 0.8em; }
.h44-footer ul { list-style: none; margin: 0; padding: 0; }
.h44-footer li { margin-bottom: 0.5em; }
.h44-footer__bottom {
	margin-top: var(--space-md);
	padding-top: var(--space-sm);
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 0.85rem;
	color: rgba(239, 231, 214, 0.6);
	text-align: center;
}
.h44-social { display: flex; gap: 1rem; }
.h44-social a { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 720px) {
	.h44-footer__grid { grid-template-columns: 1fr; gap: var(--space-sm); }
}

/* ---- Utility ---- */
.h44-eyebrow {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--h44-gold);
}
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	width: 1px; height: 1px; overflow: hidden;
}
