/* ============================================================
   Salwai NW — main stylesheet
   NerdWallet-style layout, Salwai rose/plum palette
   ============================================================ */

:root {
	--plum: #4C3A4D;
	--rose: #F7A3A1;
	--peach: #FFD0C9;
	--cream: #FFF5F2;
	--lilac: #D7B5D8;
	--white: #ffffff;
	--text: #4C3A4D;
	--text-soft: #6d5a6e;
	--radius-card: 16px;
	--radius-btn: 2px;
	--shadow-card: 0 2px 12px rgba(76, 58, 77, 0.08);
	--shadow-card-hover: 0 6px 24px rgba(76, 58, 77, 0.14);
	--font: 'Montserrat', 'Gotham', system-ui, sans-serif;
	--container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 0.5em; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--plum);
	color: #fff;
	padding: 8px 16px;
	z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: var(--radius-btn);
	padding: 10px 16px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s ease, background 0.15s ease;
	font-family: var(--font);
}
.btn:hover { text-decoration: none; opacity: 0.9; }

.btn-primary { background: var(--rose); color: var(--plum); }
.btn-primary:hover { background: #f59290; }

.btn-ghost { background: #f7f7f7; color: var(--rose); }
.btn-ghost:hover { background: #eee; }

.btn-white { background: #fff; color: var(--plum); }
.btn-white:hover { background: var(--cream); }

/* ---------- Announcement bar ---------- */
.announcement-bar {
	background: var(--plum);
	color: var(--cream);
	text-align: center;
	font-size: 13px;
	padding: 8px 16px;
}
.announcement-bar p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(76, 58, 77, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 82px;
	gap: 24px;
}

.site-logo {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--plum);
	text-decoration: none;
}
.site-logo:hover { text-decoration: none; }
.logo-accent { color: var(--rose); }

.nav-menu {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu a {
	font-size: 13px;
	font-weight: 700;
	color: var(--plum);
	text-decoration: none;
	padding: 8px 0;
}
.nav-menu a:hover { color: var(--rose); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.search-toggle {
	background: none;
	border: none;
	color: var(--plum);
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 4px;
}
.menu-toggle span {
	width: 22px;
	height: 2px;
	background: var(--plum);
	display: block;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-search {
	background: var(--white);
	border-top: 1px solid rgba(76, 58, 77, 0.08);
	padding: 16px 0;
}
.header-search[hidden] { display: none; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1;
	border: 1px solid rgba(76, 58, 77, 0.18);
	border-radius: 999px;
	padding: 12px 20px;
	font-size: 16px;
	font-family: var(--font);
	color: var(--text);
	background: var(--white);
}
.search-form input[type="search"]:focus { outline: 2px solid var(--rose); outline-offset: -1px; }
.search-form button[type="submit"] {
	border: none;
	background: var(--rose);
	color: var(--plum);
	font-weight: 700;
	border-radius: 999px;
	padding: 12px 24px;
	cursor: pointer;
	font-family: var(--font);
	font-size: 13px;
	text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
	background: var(--plum);
	color: var(--cream);
	padding: 72px 0 140px;
	text-align: center;
	position: relative;
}
.hero-title {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	max-width: 800px;
	margin: 0 auto 20px;
	color: #fff;
}
.hero-accent { color: var(--rose); }
.hero-sub {
	font-size: 19px;
	color: rgba(255, 245, 242, 0.85);
	max-width: 620px;
	margin: 0 auto 32px;
}
.hero-search {
	max-width: 640px;
	margin: 0 auto;
}
.hero-search .search-form {
	background: var(--white);
	border-radius: var(--radius-card);
	padding: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	display: flex;
	gap: 8px;
	align-items: center;
}
.hero-search .search-form input[type="search"] {
	border: none;
	background: transparent;
	padding: 12px 16px;
}

/* ---------- Pillar cards (overlap row) ---------- */
.pillar-cards {
	position: relative;
	z-index: 2;
	margin-top: -84px;
	padding-bottom: 48px;
}
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.pillar-card {
	background: var(--white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	padding: 22px 18px;
	text-align: center;
	text-decoration: none;
	color: var(--text);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	display: block;
}
.pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
	text-decoration: none;
}
.pillar-emoji { font-size: 28px; display: block; margin-bottom: 10px; }
.pillar-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--plum); }
.pillar-desc { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.45; }

/* v1.3.1: align card content — fixed title block height so descriptions start on the same line */
.pillar-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}
.pillar-title {
	min-height: 2.6em; /* reserves two title lines */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }

.section-title {
	font-size: 36px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 44px;
	color: var(--plum);
}

/* Trust columns */
.section-trust { background: var(--white); }
.trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: center;
	max-width: 980px;
	margin: 0 auto;
}
.trust-icon { font-size: 34px; display: block; margin-bottom: 14px; }
.trust-col h3 { font-size: 19px; font-weight: 700; color: var(--plum); }
.trust-col p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* ---------- Journal carousel ---------- */
.section-journal { background: var(--cream); }
.carousel-wrap { position: relative; }
.carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 max(20px, calc((100% - var(--container)) / 2 + 20px)) 8px;
	scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.journal-card {
	flex: 0 0 380px;
	scroll-snap-align: start;
	position: relative;
	border-radius: var(--radius-card);
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--peach);
}
.journal-card-link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	color: #fff;
	text-decoration: none;
}
.journal-thumb {
	position: absolute;
	inset: 0;
}
.journal-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.journal-thumb-fallback {
	width: 100%; height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	background: linear-gradient(135deg, var(--rose), var(--lilac));
}
.journal-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(30, 18, 30, 0.85) 100%);
}
.journal-meta {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.journal-byline {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	opacity: 0.92;
}
.journal-avatar img { border-radius: 50%; width: 30px; height: 30px; }
.journal-title { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.3; }

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--white);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 22px;
	color: var(--plum);
	cursor: pointer;
	box-shadow: var(--shadow-card);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
}
.carousel-btn:hover { box-shadow: var(--shadow-card-hover); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

/* ---------- Newsletter ---------- */
.section-newsletter { padding-top: 24px; }
.newsletter-band {
	background: var(--peach);
	border-radius: var(--radius-card);
	padding: 56px 40px;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.newsletter-band h2 { font-size: 32px; font-weight: 700; color: var(--plum); }
.newsletter-band > p { color: var(--text-soft); max-width: 520px; margin: 0 auto 28px; }
.newsletter-form form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
	border: 1px solid rgba(76, 58, 77, 0.2);
	border-radius: 999px;
	padding: 13px 22px;
	font-size: 15px;
	font-family: var(--font);
	min-width: 280px;
}
.newsletter-form input[type="submit"],
.newsletter-form button[type="submit"] {
	border: none;
	background: var(--plum);
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 13px 28px;
	cursor: pointer;
	font-family: var(--font);
	font-size: 13px;
	text-transform: uppercase;
}
.newsletter-fallback { color: var(--text-soft); font-style: italic; }

/* ---------- More resources ---------- */
.resources-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 48px;
	align-items: start;
}
.resources-title { font-size: 36px; font-weight: 500; margin-bottom: 28px; color: var(--plum); }
.resource-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.resource-pill a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--white);
	border-radius: 999px;
	padding: 18px 26px;
	font-size: 16px;
	font-weight: 500;
	color: var(--plum);
	text-decoration: none;
	box-shadow: var(--shadow-card);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.resource-pill a:hover { transform: translateX(4px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.resource-pill.is-highlight a { background: var(--peach); }
.pill-arrow { font-size: 18px; }

.featured-card {
	background: var(--white);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	padding: 32px;
	text-align: center;
	position: relative;
}
.featured-image {
	font-size: 64px;
	background: linear-gradient(135deg, var(--rose), var(--lilac));
	border-radius: 12px;
	padding: 40px 0;
	margin-bottom: 20px;
}
.featured-badge {
	display: inline-block;
	background: var(--lilac);
	color: var(--plum);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 14px;
}
.featured-card h3 { font-size: 22px; font-weight: 700; color: var(--plum); }
.featured-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 22px; }

/* ---------- Store teaser ---------- */
.section-store { background: var(--plum); }
.store-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.store-title { color: #fff; font-size: 32px; font-weight: 700; margin: 0; }

/* ---------- Post cards / archive grid ---------- */
.page-head { padding-bottom: 8px; }
.page-title { font-size: 44px; font-weight: 700; color: var(--plum); }
.section-archive-grid { padding-top: 24px; }
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.post-card {
	background: var(--white);
	border-radius: var(--radius-card);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-card-link { display: block; color: var(--text); text-decoration: none; height: 100%; }
.post-card-link:hover { text-decoration: none; }
.post-card-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--peach); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-title { font-size: 19px; font-weight: 700; margin: 10px 0 8px; color: var(--plum); }
.post-card-excerpt { font-size: 14px; color: var(--text-soft); margin: 0 0 12px; }
.post-card-meta { font-size: 12px; color: var(--text-soft); margin: 0; }

.chip {
	display: inline-block;
	background: var(--lilac);
	color: var(--plum);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 999px;
	padding: 4px 12px;
	text-decoration: none;
}
.chip:hover { text-decoration: none; opacity: 0.85; }
.chip-lg { font-size: 13px; padding: 6px 16px; }

/* ---------- Single post ---------- */
.single-article { background: var(--white); padding: 56px 0 72px; }
.single-container { max-width: 760px; }
.single-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--plum);
	margin: 18px 0 16px;
}
.single-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: var(--text-soft);
	margin-bottom: 28px;
}
.single-byline img { border-radius: 50%; width: 40px; height: 40px; }
.single-featured { margin: 0 0 32px; }
.single-featured img { border-radius: var(--radius-card); width: 100%; }
.single-content { font-size: 18px; line-height: 1.7; }
.single-content h2 { font-size: 30px; font-weight: 700; margin-top: 1.6em; color: var(--plum); }
.single-content h3 { font-size: 22px; font-weight: 700; margin-top: 1.4em; color: var(--plum); }
.single-content a { color: var(--rose); font-weight: 500; text-decoration: underline; }
.single-content blockquote {
	border-left: 4px solid var(--rose);
	margin: 1.5em 0;
	padding: 8px 24px;
	background: var(--cream);
	border-radius: 0 12px 12px 0;
	font-style: italic;
}
.single-content img { border-radius: 12px; }

.inline-cta {
	background: var(--peach);
	border-radius: var(--radius-card);
	padding: 32px;
	margin: 48px 0;
	text-align: center;
}
.inline-cta h3 { font-size: 22px; font-weight: 700; color: var(--plum); }
.inline-cta p { color: var(--text-soft); margin-bottom: 16px; }

.related { margin-top: 56px; }
.related .section-title { font-size: 28px; text-align: left; margin-bottom: 24px; }

/* ---------- Pagination ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 40px; }
.pagination-wrap .nav-links { display: flex; gap: 8px; }
.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--white);
	box-shadow: var(--shadow-card);
	font-size: 14px;
	font-weight: 700;
	color: var(--plum);
	text-decoration: none;
	padding: 0 14px;
}
.pagination-wrap .page-numbers.current { background: var(--rose); color: var(--plum); }
.pagination-wrap .page-numbers:hover { text-decoration: none; box-shadow: var(--shadow-card-hover); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--cream);
	padding: 56px 0 28px;
	border-top: 1px solid rgba(76, 58, 77, 0.08);
	margin-top: 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
}
.footer-brand .site-logo { font-size: 24px; }
.footer-tagline { color: var(--text-soft); font-size: 14px; max-width: 280px; margin-top: 10px; }
.footer-col h3 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--plum);
	margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-soft); text-decoration: none; }
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
	border-top: 1px solid rgba(76, 58, 77, 0.08);
	margin-top: 44px;
	padding-top: 20px;
	font-size: 12px;
	color: var(--text-soft);
	text-align: center;
}

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 80px 0; }
.error-404 h1 { font-size: 52px; color: var(--plum); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pillar-grid { grid-template-columns: repeat(3, 1fr); }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.resources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.hero { padding: 48px 0 120px; }
	.hero-title { font-size: 34px; }
	.hero-sub { font-size: 16px; }
	.section { padding: 44px 0; }
	.section-title { font-size: 28px; }

	.primary-nav {
		display: none;
		position: absolute;
		top: 82px;
		left: 0; right: 0;
		background: var(--white);
		box-shadow: 0 12px 24px rgba(76, 58, 77, 0.12);
		padding: 12px 20px 20px;
	}
	.primary-nav.is-open { display: block; }
	.nav-menu { flex-direction: column; gap: 4px; }
	.nav-menu a { display: block; padding: 12px 0; font-size: 15px; }
	.menu-toggle { display: flex; }
	.header-actions .btn-ghost { display: none; }

	.pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	/* equal-height rows on mobile: 2-col grid auto rows + centered content */
	.pillar-card { height: 100%; }
	/* last odd card (The Store) spans both columns so the row stays balanced */
	.pillar-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.trust-grid { grid-template-columns: 1fr; gap: 28px; }
	.journal-card { flex-basis: 300px; }
	.post-grid { grid-template-columns: 1fr; }
	.single-title { font-size: 30px; }
	.newsletter-band { padding: 40px 20px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.carousel-btn { display: none; }
}

/* ============================================================
   Salwai NW v1.1.0 — design finesse polish
   ============================================================ */

:root {
	--shadow-card-soft: 0 2px 12px rgba(76, 58, 77, 0.06), 0 6px 20px rgba(76, 58, 77, 0.05);
	--shadow-card-hover-deep: 0 12px 28px rgba(76, 58, 77, 0.16);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { letter-spacing: -0.01em; }
.hero-sub { max-width: 560px; }

/* ---------- Hero glow + refined search shadow ---------- */
.hero::before {
	content: '';
	position: absolute;
	top: 8%;
	left: 50%;
	transform: translateX(-50%);
	width: 680px;
	height: 460px;
	background: radial-gradient(ellipse at center, rgba(247, 163, 161, 0.08) 0%, rgba(247, 163, 161, 0) 70%);
	pointer-events: none;
	z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 1; }
.hero-search .search-form {
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.08),
		0 8px 24px rgba(30, 18, 30, 0.18),
		0 16px 48px rgba(30, 18, 30, 0.2);
	transition: box-shadow 0.25s ease;
}
.hero-search .search-form:focus-within {
	box-shadow:
		0 0 0 2px var(--rose),
		0 12px 32px rgba(30, 18, 30, 0.24);
}

/* ---------- Pillar cards ---------- */
.pillar-card {
	border-radius: 18px;
	border: 1px solid rgba(76, 58, 77, 0.06);
	box-shadow: var(--shadow-card-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover-deep);
	text-decoration: none;
}
.pillar-emoji {
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pillar-card:hover .pillar-emoji {
	transform: translateY(-4px) scale(1.12);
}

/* ---------- Buttons ---------- */
.btn {
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
	opacity: 1;
}
.btn:active { transform: translateY(0); }
.btn-primary:hover {
	background: #ef7f7d;
	box-shadow: 0 6px 18px rgba(247, 163, 161, 0.45);
}

/* ---------- Section title accent bar ---------- */
.section-title {
	position: relative;
	padding-bottom: 16px;
}
.section-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--rose);
}
.related .section-title { text-align: left; }
.related .section-title::after { left: 0; transform: none; }

/* ---------- Journal cards hover zoom + overlay deepen ---------- */
.journal-thumb { overflow: hidden; }
.journal-thumb img { transition: transform 0.4s ease; }
.journal-card:hover .journal-thumb img { transform: scale(1.04); }
.journal-overlay { transition: background 0.4s ease; }
.journal-card:hover .journal-overlay {
	background: linear-gradient(180deg, rgba(30, 18, 30, 0.12) 30%, rgba(30, 18, 30, 0.92) 100%);
}

/* ---------- Newsletter floating blobs ---------- */
.newsletter-band {
	position: relative;
	overflow: hidden;
}
.newsletter-band::before,
.newsletter-band::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(40px);
	z-index: 0;
}
.newsletter-band::before {
	width: 280px;
	height: 280px;
	top: -80px;
	left: -60px;
	background: radial-gradient(circle, rgba(255, 208, 201, 0.9), rgba(255, 208, 201, 0) 70%);
	animation: salwai-float 9s ease-in-out infinite;
}
.newsletter-band::after {
	width: 240px;
	height: 240px;
	bottom: -70px;
	right: -50px;
	background: radial-gradient(circle, rgba(215, 181, 216, 0.85), rgba(215, 181, 216, 0) 70%);
	animation: salwai-float 11s ease-in-out infinite reverse;
}
.newsletter-band > * { position: relative; z-index: 1; }
@keyframes salwai-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(24px, -20px) scale(1.08); }
}

/* ---------- Resource pills ---------- */
.resource-pill a {
	transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.15s ease;
}
.resource-pill a:hover {
	background: var(--peach);
	transform: translateX(4px);
	text-decoration: none;
}
.pill-arrow { transition: transform 0.2s ease; }
.resource-pill a:hover .pill-arrow { transform: translateX(4px); }

/* ---------- Store band ---------- */
.section-store {
	background: linear-gradient(135deg, var(--plum) 0%, #3c2d3d 55%, #2e2230 100%);
}
.section-store .btn-white:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- Footer ---------- */
.site-footer { padding-top: 72px; }
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--rose); text-decoration: none; }

/* ---------- Header scrolled state ---------- */
.site-header {
	transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 18px rgba(76, 58, 77, 0.12);
}

/* ---------- Post cards & featured card ---------- */
.post-card,
.featured-card { box-shadow: var(--shadow-card-soft); }
.post-card:hover,
.featured-card:hover { box-shadow: var(--shadow-card-hover-deep); }
.featured-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.featured-card:hover { transform: translateY(-4px); }
.post-card-thumb img { transition: transform 0.4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

/* ---------- Full-bleed hero background photo (v1.3) ---------- */
.hero-bg {
	position: relative;
	overflow: hidden;
	background: var(--plum);
}
.hero-bg-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero-bg-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}
.hero-bg-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(76, 58, 77, 0.55) 0%, rgba(76, 58, 77, 0.35) 40%, rgba(76, 58, 77, 0.65) 100%),
		radial-gradient(ellipse at center 40%, rgba(76, 58, 77, 0.15) 0%, rgba(40, 26, 42, 0.75) 100%);
}
.hero-bg .hero-inner {
	position: relative;
	z-index: 1;
	padding-top: 96px;
	padding-bottom: 160px;
	text-align: center;
}
.hero-bg .hero-title,
.hero-bg .hero-sub {
	color: #fff;
	text-shadow: 0 2px 18px rgba(20, 10, 20, 0.55);
}
.hero-bg .hero-title { font-size: 56px; }
.hero-bg .hero-sub { color: rgba(255, 245, 242, 0.95); }
.hero-bg .hero-search { max-width: 640px; margin: 0 auto; }
@media (max-width: 768px) {
	.hero-bg .hero-inner { padding-top: 64px; padding-bottom: 130px; }
	.hero-bg .hero-title { font-size: 36px; }
}

