:root{
	--bg: rgba(249,242,236,1);
	--text: rgba(26,26,26,.8);
	--text-strong: rgba(26,26,26,.92);
	--border: rgba(26,26,26,.12);
	--card: rgba(255,255,255,.55);
	--shadow: 0 10px 30px rgba(43,43,43,.08);
	--radius: 18px;
	--accent: rgba(197,113,84,1);
}

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

body{
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
	background: var(--bg);
	color: var(--text);
	line-height: 1.55;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Scroll progress bar */
.scroll-progress{
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: var(--accent);
	z-index: 60;
	transition: width .1s ease;
}

.container{
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* ── Header ── */
.site-header{
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: var(--bg);
	padding: 12px 0;
}
.site-header::after{
	content: '';
	position: absolute;
	bottom: -22px;
	left: 0;
	width: 100%;
	height: 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='1.6' fill='%231a1a1a' opacity='0.18'/%3E%3C/svg%3E");
	background-size: 8px 8px;
	background-repeat: repeat;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
	pointer-events: none;
}

/* Header runs wider than page content so branding, nav, and tagline have room */
.site-header .container{
	max-width: 1320px;
}

.header-inner{
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 68px;
	gap: 16px;
}

.brand{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
	justify-self: start;
}

.brand-mark{
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
}

.brand-mark img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.brand-name{
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ── Primary nav ── */
.site-nav{
	display: flex;
	align-items: center;
	gap: 6px;
	justify-self: center;
}

.nav-link{
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
	padding: 10px 12px;
	border-radius: 8px;
	white-space: nowrap;
	transition: color .2s ease;
}

.nav-link:hover,
.nav-link:focus-visible{ color: var(--accent); }

.nav-link.active{ color: var(--accent); }

.nav-cta{
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	margin-left: 6px;
	padding: 8px 14px;
	background: var(--accent);
	color: var(--bg);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(197,113,84,.25);
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible{
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(197,113,84,.35);
	opacity: .95;
}

/* ── Tagline ── */
.tagline{
	justify-self: end;
	text-align: right;
	color: var(--accent);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.4;
	white-space: nowrap;
}

.tagline-sub{
	display: block;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: .01em;
	text-transform: none;
}

/* ── Hero ── */
.hero{
	padding: 64px 0 56px;
	background: var(--accent);
}

.hero h1{
	margin: 0 0 10px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--bg);
}

.lead{
	font-size: clamp(18px, 1.5vw, 22px);
	max-width: 60ch;
	margin: 0;
}

.hero .lead{
	color: rgba(249,242,236,.92);
}

/* ── Grid utilities ── */
.grid{
	display: grid;
	gap: 16px;
}

.grid-1{ grid-template-columns: 1fr; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-wide{ grid-column: 1 / -1; }

/* ── Card base ── */
.card-base{
	padding: 24px;
	border: 1px solid var(--border);
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* ── Footer ── */
.footer{
	padding: 32px 0 28px;
	border-top: 1px solid var(--border);
}

.footer-inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.footer-links{
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.footer-link{
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color .2s ease;
}

.footer-link:hover,
.footer-link:focus-visible{
	color: var(--accent);
}

.subtle{
	margin: 0;
	color: var(--text);
	opacity: .55;
	font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 900px){
	.tagline{ display: none; }
}

@media (max-width: 740px){
	.header-inner{ grid-template-columns: 1fr; gap: 10px 12px; }
	.site-nav{ justify-self: stretch; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 4px; }
	.nav-cta{ margin-left: auto; }
	.container{ padding: 0 20px; }
	.grid-2, .grid-3{ grid-template-columns: 1fr; }
	.footer-links{ gap: 12px; }
}

@media (prefers-reduced-motion: reduce){
	html{ scroll-behavior: auto; }
	.nav-cta{ transition: none; }
}
