/* =========================================================
   site.css — global design tokens, base, header & footer
   Shared across the whole site (blog now, homepage later).
   Keep classes minimal; prefer element selectors.
   ========================================================= */

:root {
	/* ink & paper */
	--ink: #17141a;
	--ink-soft: #574f5c;
	--paper: #fefefe;

	/* brand */
	--crimson: #af0039;
	--crimson-deep: #7d0029;
	--magenta: #e91e63;
	--gold: #c79400;
	--gold-bright: #fff64f;
	--pink-soft: #f2b8cd;

	--line: rgba(23, 20, 26, .12);
	--grad: linear-gradient(118deg, #e91e63 0%, #af0039 62%, #7d0029 100%);

	--wrap: 72.5rem;    /* shared content width (header, home rows, blog) */
	--measure: 54rem;   /* readable article column */
	--header-h: 77px;

	/* --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif; */
	--font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* box-sizing is global and harmless on Foundation pages (they already
   use border-box). Base typography lives in the page stylesheets
   (blog.css) so this file can be dropped onto the Foundation pages
   (home, links) purely for the shared header/footer, without touching
   their base styles. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* Safari exposes this canvas during elastic overscroll. Pink matches the
   copyright footer exactly and is also part of the hero gradient. */
html { background: var(--magenta); }
body { background: var(--magenta); }

/* ---------- global header ---------- */
site-header {
	display: block;
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	flex-shrink: 0;
	background: var(--crimson);
}

.site-head {
	position: relative;
	width: 100%;
	height: var(--header-h);
	padding: 0 1rem;
	background: var(--crimson);
	box-shadow: 0 5px 13px rgba(0, 0, 0, .15);
	line-height: 1.5;
	/* center the bar vertically within the fixed 77px header */
	display: flex;
	align-items: center;
}
.site-head .bar {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	/* 0.9375rem side padding matches Foundation's column gutter, so the name
	   and icons sit flush with the page content's outer margin (home + blog). */
	padding: 0 0.9375rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-head a { color: #fff; text-decoration: none; display: flex; align-items: center; }
/* name + nav use the eyebrow treatment: larger, uppercase, wide tracking */
.site-head .brand {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1.15rem;
	letter-spacing: .16em;
}
.site-head .brand:hover { color: var(--pink-soft); }
.site-head nav { display: flex; align-items: center; gap: 1.75rem; }
.site-head .navlink {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: .2em;
	transition: color .2s ease;
}
.site-head .navlink:hover { color: var(--pink-soft); }
.site-head .icon img { height: 35px; width: auto; display: block; transition: opacity .2s ease; }
.site-head .icon:hover img { opacity: .82; }

/* ---------- global footer ---------- */
site-footer { display: block; margin-top: auto; background: var(--magenta); }

.site-foot {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.5;
	text-align: center;
}
.site-foot .social {
	position: relative;
	z-index: 1;
	padding: 3.5rem 2rem;
	background: #fefefe;
	box-shadow: 0 5px 13px rgba(0, 0, 0, .15);
}
.site-foot h2 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.4;
	color: #0a0a0a;
	margin: 0;
}
.site-foot .social-icons { margin-top: 1.75rem; display: flex; justify-content: center; gap: .75rem; }
.site-foot .social-icons img {
	height: 72px;
	width: auto;
	transition: filter .2s ease;
}
.site-foot .social-icons a:hover img { filter: brightness(.88); }
.site-foot .copyright { padding: 1.25rem; color: #fff; background: var(--magenta); }
.site-foot .copyright nav { display: flex; justify-content: center; align-items: center; gap: .7rem; margin-bottom: .65rem; }
.site-foot .copyright a { color: #fff; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-foot .copyright a:hover { color: var(--gold-bright); }
.site-foot .copyright span { color: var(--gold-bright); }
.site-foot .copyright small { font-size: 1rem; font-weight: 300; }

@media (max-width: 640px) {
	.site-head { padding: 0 .5rem; }
	.site-head .bar { padding: 0 .5rem; gap: .75rem; }
	.site-head .brand {
		min-width: 0;
		white-space: nowrap;
		font-size: .84rem;
		letter-spacing: .1em;
	}
	.site-head nav { flex-shrink: 0; gap: .65rem; }
	.site-head .navlink { font-size: .82rem; letter-spacing: .12em; }
	.site-head .icon img { height: 28px; }
	.site-foot h2 { font-size: 1.5rem; }
}
