/*
 * main.css — base + layout
 * Style 4: Home & Garden — Botanical Editorial
 * Tokens documented in /docs/STYLE-GUIDE.md
 */

:root {
	--bg: #F8F5EE;
	--surface: #FFFFFF;
	--surface-2: #F1ECDD;
	--text: #1A2E22;
	--text-muted: #4A5D52;
	--text-soft: #7A8B7F;
	--primary: #2D5538;
	--primary-dark: #1E3D27;
	--primary-soft: #E5EBE0;
	--accent: #B8632A;
	--accent-dark: #8E4A1F;
	--gold: #D4A547;
	--leaf: #6B8E5E;
	--rule: #D8D2C0;
	--rule-strong: #B8B099;
	--warning: #DC2626;
	--display: 'Fraunces', Georgia, serif;
	--sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--sans);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* ---------- Top announcement bar ---------- */
.topbar {
	background: var(--primary-dark);
	color: var(--bg);
	padding: 8px 24px;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.04em;
}
.topbar strong { font-weight: 600; }
.topbar .sep { opacity: 0.4; margin: 0 12px; }

/* ---------- Nav ---------- */
.nav { background: var(--bg); border-bottom: 1px solid var(--rule); }
.nav-inner {
	max-width: 1200px; margin: 0 auto;
	padding: 22px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
	width: 42px; height: 42px;
	background: var(--primary); color: var(--bg);
	border-radius: 8px;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--display); font-weight: 900; font-size: 18px; font-style: italic;
	position: relative;
}
.brand-mark::after {
	content: ''; position: absolute; bottom: -4px; right: -4px;
	width: 14px; height: 14px;
	background: var(--gold); border-radius: 50%; border: 2px solid var(--bg);
}
.brand-text { font-family: var(--display); font-weight: 700; color: var(--text); }
.brand-text .top {
	font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--text-muted); line-height: 1; font-weight: 500; font-family: var(--sans);
}
.brand-text .bot { font-size: 18px; line-height: 1.1; letter-spacing: -0.015em; font-weight: 800; }

.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover { color: var(--primary); }

.nav-cta {
	padding: 12px 22px;
	background: var(--primary); color: var(--bg);
	border-radius: 100px;
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.nav-cta:hover { background: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(180deg, #2D5538 0%, #1E3D27 60%, #142A1B 100%);
	color: var(--bg);
	padding: 96px 32px 140px;
	overflow: hidden;
}
.hero::before {
	content: ''; position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 20% 10%, rgba(212, 165, 71, 0.12) 0%, transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(107, 142, 94, 0.18) 0%, transparent 50%);
}
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(248, 245, 238, 0.15); }
.hero-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.hero-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
	padding: 8px 16px;
	background: rgba(248, 245, 238, 0.08);
	border: 1px solid rgba(248, 245, 238, 0.18);
	border-radius: 100px;
	margin-bottom: 32px;
}
.hero-kicker .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 {
	font-family: var(--display);
	font-size: 64px; line-height: 1.04;
	letter-spacing: -0.025em;
	font-weight: 900;
	margin-bottom: 24px;
	max-width: 880px;
}
.hero h1 em { font-style: italic; font-weight: 500; opacity: 0.85; }
.hero .deck {
	font-family: var(--display);
	font-size: 21px; line-height: 1.45; font-weight: 400;
	max-width: 640px; opacity: 0.88;
	margin-bottom: 36px;
}
.hero-byline {
	display: flex; gap: 16px; align-items: center;
	font-size: 13px; opacity: 0.72;
	padding-top: 24px;
	border-top: 1px solid rgba(248, 245, 238, 0.18);
}
.hero-byline strong { font-weight: 600; opacity: 1; }
.pill-verified {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	background: rgba(212, 165, 71, 0.15);
	border: 1px solid rgba(212, 165, 71, 0.4);
	border-radius: 100px;
	font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- Article body ---------- */
.article {
	max-width: 740px;
	margin: -72px auto 0;
	padding: 56px;
	background: var(--surface);
	border-radius: 4px;
	position: relative; z-index: 3;
	box-shadow: 0 32px 80px -16px rgba(26, 46, 34, 0.25), 0 0 0 1px var(--rule);
}
.article-body {
	font-family: var(--display);
	font-size: 19px; line-height: 1.72;
	color: var(--text); font-weight: 400;
}
.article-body p { margin-bottom: 24px; }
.article-body p:first-of-type::first-letter {
	font-family: var(--display); font-size: 68px; line-height: 0.88; font-weight: 700;
	float: left; margin: 6px 14px 0 0;
	color: var(--primary);
}
.article-body h2 {
	font-family: var(--display);
	font-size: 34px; line-height: 1.18; font-weight: 700;
	margin: 48px 0 16px;
	letter-spacing: -0.015em;
	color: var(--text);
}
.article-body h2::before {
	content: ''; display: block;
	width: 48px; height: 3px;
	background: var(--primary);
	margin-bottom: 16px;
}
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.pull-quote {
	font-family: var(--display);
	font-size: 28px; font-style: italic; line-height: 1.32;
	color: var(--primary);
	margin: 40px -8px;
	padding: 28px 32px;
	background: var(--primary-soft);
	border-radius: 4px;
	text-align: left; font-weight: 500;
	border-left: 4px solid var(--primary);
}
.callout {
	background: var(--primary-soft);
	border-radius: 6px;
	padding: 20px 24px;
	margin: 28px 0;
	font-family: var(--sans);
	font-size: 15px; line-height: 1.5;
}
.callout strong {
	color: var(--primary-dark);
	font-weight: 700;
	display: block;
	font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	margin-bottom: 6px;
}

/* ---------- Divider ---------- */
.divider {
	max-width: 960px; margin: 64px auto 32px;
	padding: 0 32px;
	display: flex; align-items: center; gap: 20px;
}
.divider-line { flex: 1; height: 1px; background: var(--rule-strong); }
.divider-mark {
	font-family: var(--display);
	font-style: italic; color: var(--primary);
	font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
}

/* ---------- Methodology block ---------- */
.method-section { max-width: 960px; margin: 48px auto 0; padding: 0 32px; }
.method-card {
	background: var(--surface);
	border: 1px solid var(--rule-strong);
	border-radius: 12px;
	padding: 32px 36px;
	display: grid; grid-template-columns: auto 1fr;
	gap: 28px; align-items: center;
	box-shadow: 0 8px 24px -8px rgba(26, 46, 34, 0.08);
}
.method-seal {
	width: 84px; height: 84px;
	background: var(--primary); color: var(--gold);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--display); font-style: italic; font-weight: 900; font-size: 38px;
	position: relative; flex-shrink: 0;
}
.method-seal::after {
	content: ''; position: absolute; inset: 5px;
	border: 1.5px dashed rgba(212, 165, 71, 0.5);
	border-radius: 50%;
}
.method-body h4 {
	font-family: var(--display);
	font-size: 22px; font-weight: 700; line-height: 1.2;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}
.method-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.method-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.method-pill {
	font-size: 11px;
	padding: 5px 11px;
	background: var(--primary-soft);
	color: var(--primary-dark);
	border-radius: 100px;
	font-weight: 600; letter-spacing: 0.02em;
	display: inline-flex; align-items: center; gap: 5px;
}
.method-pill::before { content: '\2713'; color: var(--primary); }
.method-link { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 600; }
.method-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
	background: var(--text);
	color: rgba(248, 245, 238, 0.7);
	padding: 64px 32px 32px;
	margin-top: 64px;
}
.footer-inner {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px; align-items: start;
}
.footer .brand { color: var(--bg); }
.footer .brand-mark { background: var(--gold); color: var(--text); }
.footer .brand-mark::after { background: var(--primary); }
.footer .brand-text .top { color: rgba(248, 245, 238, 0.55); }
.footer .brand-text .bot { color: var(--bg); }
.footer h5 {
	font-family: var(--display);
	color: var(--gold);
	font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
	margin-bottom: 14px; font-weight: 700;
}
.footer ul { list-style: none; }
.footer li { padding: 4px 0; font-size: 14px; }
.footer a { color: rgba(248, 245, 238, 0.7); text-decoration: none; }
.footer a:hover { color: var(--bg); }
.footer p { font-size: 14px; color: rgba(248, 245, 238, 0.7); line-height: 1.6; max-width: 360px; margin-top: 14px; }
.disclosure {
	max-width: 1200px; margin: 40px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(248, 245, 238, 0.12);
	font-size: 12px; color: rgba(248, 245, 238, 0.5); line-height: 1.6;
}
.disclosure a { color: rgba(248, 245, 238, 0.7); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hero h1 { font-size: 44px; }
	.hero { padding: 64px 24px 100px; }
	.article { padding: 36px 28px; }
	.nav-inner { gap: 16px; }
	.nav-links { display: none; }
	.method-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
	.method-seal { width: 64px; height: 64px; font-size: 28px; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.footer-inner { grid-template-columns: 1fr; }
	.hero h1 { font-size: 36px; }
	.divider { padding: 0 16px; }
}
