/* ==========================================================================
   Joyride — Birthday Celebrations Magazine
   Design system inspired (layout/spirit only, not copied) by a pink-accent
   magazine template. Pure HTML5 + CSS3. No Bootstrap, no jQuery, no build
   step. A little vanilla JS (js/main.js) handles the few things CSS alone
   can't: mobile nav, sticky header, dark mode, scroll-reveal, counters,
   carousel and lightbox.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- design tokens ---------- */
:root {
	--pink: #fc95c4;
	--pink-dark: #e8579e;
	--blush: #ffd6e1;
	--peach: #ffb8a1;
	--cream: #fff8f2;
	--gold: #e8b84b;
	--ink: #2b2420;
	--muted: #7a6f6a;
	--white: #ffffff;
	--grey: #f4efe9;
	--border: #eee0d8;
	--shadow-sm: 0 6px 18px rgba(233, 87, 158, .08);
	--shadow-md: 0 16px 40px rgba(43, 36, 32, .08);
	--shadow-lg: 0 24px 60px rgba(43, 36, 32, .14);
	--radius-sm: 12px;
	--radius-md: 20px;
	--radius-lg: 32px;
	--radius-pill: 999px;
	--font-head: 'Playfair Display', Georgia, serif;
	--font-alt-head: 'Poppins', sans-serif;
	--font-body: 'Poppins', sans-serif;
	--max-width: 1400px;
	--content-width: 1200px;
	--gradient-brand: linear-gradient(135deg, var(--pink) 0%, var(--peach) 100%);
}

[data-theme="dark"] {
	--cream: #241b22;
	--white: #2c2129;
	--grey: #2f242c;
	--ink: #f6ecef;
	--muted: #cbb9c2;
	--border: #402f3a;
	--shadow-sm: 0 6px 18px rgba(0, 0, 0, .3);
	--shadow-md: 0 16px 40px rgba(0, 0, 0, .35);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	font-size: 16px;
	line-height: 1.7;
	overflow-x: hidden;
	transition: background .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-alt-head);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pink-dark);
	background: var(--blush);
	padding: 6px 16px;
	border-radius: var(--radius-pill);
	margin-bottom: 14px;
}

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

section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-alt-head);
	font-weight: 600;
	font-size: .95rem;
	padding: 15px 32px;
	border-radius: var(--radius-pill);
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary {
	background: var(--gradient-brand);
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline {
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink-dark); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }

/* button ripple micro-interaction */
.btn { position: relative; overflow: hidden; }
.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle, rgba(255,255,255,.55) 0%, transparent 60%);
	opacity: 0;
	transform: scale(0);
	transition: transform .5s ease, opacity .6s ease;
}
.btn:active::after { opacity: 1; transform: scale(2.4); transition: 0s; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.fade-left { transform: translateX(-36px); }
.reveal.fade-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 500;
	padding: 22px 0;
	background: transparent;
	transition: background .35s ease, box-shadow .35s ease, padding .35s ease, border-radius .35s ease;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: var(--shadow-md);
	padding: 14px 0;
	border-radius: 0 0 28px 28px;
}
[data-theme="dark"] .site-header.is-scrolled { background: rgba(44,33,41,.85); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.brand span { color: var(--pink-dark); }

.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
	font-family: var(--font-alt-head);
	font-size: .92rem;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: var(--radius-pill);
	color: var(--ink);
	transition: background .25s ease, color .25s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--blush); color: var(--pink-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--white);
	box-shadow: var(--shadow-sm);
	font-size: 1.05rem;
	transition: transform .25s ease, background .25s ease;
}
.icon-btn:hover { transform: translateY(-3px) rotate(-6deg); background: var(--blush); }
.header-social { display: flex; gap: 8px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
	.main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 84vw);
		background: var(--white); flex-direction: column; justify-content: flex-start;
		padding: 100px 32px; gap: 6px; box-shadow: var(--shadow-lg); transition: right .4s ease; }
	.main-nav.is-open { right: 0; }
	.main-nav a { width: 100%; }
	.header-social, .icon-btn.search-toggle { display: none; }
	.nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	padding: 190px 0 120px;
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 15% 20%, var(--blush) 0%, transparent 45%),
				radial-gradient(circle at 85% 0%, #fff1e6 0%, transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { font-size: 1.1rem; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob {
	position: absolute;
	inset: 6%;
	border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
	background: var(--gradient-brand);
	opacity: .18;
	animation: blobMove 12s ease-in-out infinite;
}
@keyframes blobMove {
	0%, 100% { border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
	50% { border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%; }
}
.hero-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, #ffd7e6, #ffe8d1);
	display: flex; align-items: center; justify-content: center;
	font-size: 6rem;
	box-shadow: var(--shadow-lg);
	border: 10px solid var(--white);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.floaty {
	position: absolute;
	font-size: 2.4rem;
	filter: drop-shadow(0 10px 16px rgba(0,0,0,.12));
	animation: floaty 5s ease-in-out infinite;
}
.floaty.f1 { top: 4%; left: -4%; animation-delay: 0s; }
.floaty.f2 { top: 60%; left: -8%; animation-delay: 1s; font-size: 2rem; }
.floaty.f3 { top: -2%; right: 8%; animation-delay: 2s; }
.floaty.f4 { bottom: 4%; right: -4%; animation-delay: .5s; font-size: 2.1rem; }
.floaty.f5 { bottom: 30%; right: 2%; animation-delay: 1.6s; font-size: 1.8rem; }
@keyframes floaty {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-18px) rotate(8deg); }
}

/* ==========================================================================
   Featured categories
   ========================================================================== */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.category-card {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 34px 24px;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
	border: 1px solid var(--border);
}
.category-card .cat-icon {
	width: 68px; height: 68px; margin: 0 auto 18px;
	border-radius: 50%;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.8rem;
	background: var(--blush);
	transition: transform .3s ease, background .3s ease;
}
.category-card .cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-card h3 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-alt-head); }
.category-card p { font-size: .88rem; margin: 0; }
.category-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-md);
	background: linear-gradient(160deg, #fff, var(--blush));
}
.category-card:hover .cat-icon { transform: scale(1.12) rotate(-6deg); }

/* ==========================================================================
   Cards: blog / trending
   ========================================================================== */
.blog-grid, .trending-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
.blog-card {
	background: var(--white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .3s ease, box-shadow .3s ease;
	display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-card.is-placeholder { opacity: .72; }
.card-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	position: relative;
	background: linear-gradient(140deg, var(--blush), var(--peach));
	display: flex; align-items: center; justify-content: center;
	font-size: 3rem;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .card-media img { transform: scale(1.08); }
.card-cat {
	position: absolute; top: 16px; left: 16px;
	background: rgba(255,255,255,.9);
	color: var(--pink-dark);
	font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 14px; border-radius: var(--radius-pill);
}
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.card-body h3 a { transition: color .2s ease; }
.card-body h3 a:hover { color: var(--pink-dark); }
.card-body p { font-size: .92rem; flex: 1; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: .85rem; }
.read-more { font-weight: 600; color: var(--pink-dark); display: inline-flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 10px; }

.trending-grid { grid-template-columns: repeat(3, 1fr); }
.trending-card {
	position: relative; border-radius: var(--radius-md); overflow: hidden;
	aspect-ratio: 5/4; box-shadow: var(--shadow-sm);
}
.trending-card .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.trending-card::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(20,10,15,.75) 0%, transparent 55%);
}
.trending-card .trending-label {
	position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
	color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
}
.trending-card .trending-num {
	position: absolute; top: 16px; left: 16px; z-index: 2;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--gradient-brand); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .85rem;
}
.trending-card:hover .card-media img { transform: scale(1.1); }

/* ==========================================================================
   Wishes quote cards
   ========================================================================== */
.wishes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wish-card {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
	position: relative;
	transition: transform .3s ease, box-shadow .3s ease;
}
.wish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wish-card .quote-mark { font-family: var(--font-head); font-size: 2.6rem; color: var(--blush); line-height: 0; display: block; margin-bottom: 10px; }
.wish-card p { font-style: italic; font-size: .95rem; color: var(--ink); margin-bottom: 14px; }
.wish-card .wish-tag { font-size: .78rem; font-weight: 600; color: var(--pink-dark); text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   Masonry gallery + lightbox
   ========================================================================== */
.masonry { columns: 4 260px; column-gap: 22px; }
.masonry-item {
	break-inside: avoid;
	margin-bottom: 22px;
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	cursor: zoom-in;
}
.masonry-item img { width: 100%; display: block; transition: transform .5s ease; }
.masonry-item .overlay {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(20,10,15,.78), transparent 60%);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 18px;
	opacity: 0; transition: opacity .3s ease;
	color: #fff;
}
.masonry-item .overlay span { font-size: .78rem; text-decoration: underline; }
.masonry-item:hover .overlay { opacity: 1; }
.masonry-item:hover img { transform: scale(1.08); }

.lightbox {
	position: fixed; inset: 0; z-index: 900;
	background: rgba(20,10,15,.9);
	display: none; align-items: center; justify-content: center;
	padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); }
.lightbox-close, .lightbox-nav {
	position: absolute; top: 24px; right: 24px;
	width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem;
	display: flex; align-items: center; justify-content: center;
}
.lightbox-nav.prev { left: 24px; right: auto; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Planning timeline
   ========================================================================== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
	content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
	background: linear-gradient(180deg, var(--pink), var(--gold));
	transform: translateX(-50%);
}
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 24px; align-items: center; margin-bottom: 36px; }
.timeline-card {
	background: var(--white); border-radius: var(--radius-md); padding: 22px 24px;
	box-shadow: var(--shadow-sm); position: relative;
}
.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; }
.timeline-item:nth-child(odd) .timeline-spacer { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-spacer { grid-column: 1; }
.timeline-dot {
	grid-column: 2; width: 46px; height: 46px; border-radius: 50%;
	background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 700; box-shadow: var(--shadow-sm); z-index: 2; margin: 0 auto;
}
.timeline-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-card p { font-size: .88rem; margin: 0; }

/* ==========================================================================
   Alternating featured themes
   ========================================================================== */
.theme-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
	margin-bottom: 90px;
}
.theme-row:last-child { margin-bottom: 0; }
.theme-row.reverse { direction: rtl; }
.theme-row.reverse > * { direction: ltr; }
.theme-media {
	aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-md); position: relative;
	background: linear-gradient(135deg, var(--blush), #ffe3cf);
	display: flex; align-items: center; justify-content: center; font-size: 4.5rem;
}
.theme-media img { width: 100%; height: 100%; object-fit: cover; }
.theme-copy .eyebrow { margin-bottom: 16px; }
.theme-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 16px; }
.theme-copy p { margin-bottom: 26px; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
	background: var(--gradient-brand);
	border-radius: var(--radius-lg);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 70px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
	color: #fff;
}
.newsletter::before {
	content: '🎈 🎉 🎊 🎁 🎂 ✨ 🎈 🎊 🎉 🎂 🎁 ✨';
	position: absolute; inset: -20px;
	font-size: 1.6rem;
	opacity: .18;
	letter-spacing: 30px;
	line-height: 3.2;
	pointer-events: none;
}
.newsletter h2 { color: #fff; margin-bottom: 12px; position: relative; }
.newsletter p { color: rgba(255,255,255,.9); max-width: 480px; margin: 0 auto 30px; position: relative; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
	flex: 1; min-width: 220px; padding: 15px 22px; border-radius: var(--radius-pill); border: none;
	font-size: .95rem;
}
.newsletter-form button {
	padding: 15px 30px; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-weight: 600;
	transition: transform .25s ease;
}
.newsletter-form button:hover { transform: translateY(-3px); }

/* ==========================================================================
   Testimonials carousel
   ========================================================================== */
.testimonial-wrap { max-width: 760px; margin: 0 auto; position: relative; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform .5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 8px; }
.testimonial-card {
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	padding: 50px 46px; text-align: center;
}
.testimonial-card .quote-mark { font-family: var(--font-head); font-size: 3rem; color: var(--blush); }
.testimonial-card p { font-size: 1.05rem; color: var(--ink); margin-bottom: 24px; }
.testimonial-avatar { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 12px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.testimonial-name { font-weight: 700; font-family: var(--font-alt-head); }
.testimonial-role { font-size: .82rem; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background .25s, width .25s; }
.carousel-dots button.active { background: var(--pink); width: 26px; border-radius: var(--radius-pill); }
.carousel-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm);
	display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.carousel-arrow.prev { left: -70px; }
.carousel-arrow.next { right: -70px; }

/* ==========================================================================
   Stats counters
   ========================================================================== */
.stats-band {
	background: var(--ink); color: #fff; border-radius: var(--radius-lg);
	max-width: var(--content-width); margin: 0 auto; padding: 56px 40px;
	display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 24px;
}
.stat h3 { font-family: var(--font-head); font-size: 2.6rem; color: var(--pink); margin-bottom: 6px; }
.stat p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }

/* ==========================================================================
   Instagram-style feed
   ========================================================================== */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.insta-item {
	aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; position: relative;
	background: linear-gradient(140deg, var(--blush), var(--peach));
	display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta-item::after {
	content: '♥'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(232,87,158,.75); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .3s ease;
}
.insta-item:hover::after { opacity: 1; }
.insta-item:hover img { transform: scale(1.1); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 90px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: #fff; font-family: var(--font-alt-head); font-size: 1rem; margin-bottom: 20px; }
.footer-grid p { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color .2s ease, padding-left .2s ease; }
.footer-grid ul a:hover { color: var(--pink); padding-left: 4px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.4rem; color: #fff; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .25s ease, transform .25s ease; }
.footer-social a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: .85rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--pink); }

/* ==========================================================================
   Utility: glass panel
   ========================================================================== */
.glass {
	background: rgba(255,255,255,.55);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,.6);
}

/* ==========================================================================
   About / achievements page extras
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.recognition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.recognition-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.recognition-card .badge { display: inline-block; background: var(--gold); color: #4a3600; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.press-list { display: flex; flex-wrap: wrap; gap: 10px; }
.press-list span { background: var(--grey); padding: 8px 16px; border-radius: var(--radius-pill); font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.categories-grid { grid-template-columns: repeat(2, 1fr); }
	.blog-grid, .trending-grid { grid-template-columns: repeat(2, 1fr); }
	.wishes-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.insta-grid { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.carousel-arrow { display: none; }
	.recognition-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; text-align: center; }
	.hero-copy .lede { margin-left: auto; margin-right: auto; }
	.hero-actions { justify-content: center; }
	.hero-art { order: -1; max-width: 340px; margin: 0 auto; }
	.theme-row, .theme-row.reverse { grid-template-columns: 1fr; direction: ltr; }
	.timeline::before { left: 24px; }
	.timeline-item { grid-template-columns: 60px 1fr; }
	.timeline-dot { grid-column: 1; margin: 0; }
	.timeline-item:nth-child(odd) .timeline-card, .timeline-item:nth-child(even) .timeline-card { grid-column: 2; }
	.timeline-spacer { display: none; }
	.about-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	section { padding: 64px 0; }
	.hero { padding: 150px 0 80px; }
	.categories-grid, .blog-grid, .trending-grid, .wishes-grid { grid-template-columns: 1fr; }
	.insta-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.stats-band { grid-template-columns: 1fr; }
	.masonry { columns: 2 200px; }
	.recognition-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reading progress bar
   ========================================================================== */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 600; background: rgba(0,0,0,.06); }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--gradient-brand); transition: width .1s linear; }

/* ==========================================================================
   Blog post page
   ========================================================================== */
.post-hero-section {
	padding: 170px 0 60px;
	background: radial-gradient(circle at 10% 10%, var(--blush) 0%, transparent 45%);
}
.post-hero-section .card-meta { justify-content: center; margin-bottom: 18px; }
.post-hero-section .section-head { max-width: 760px; }
.post-hero-img {
	max-width: var(--content-width); margin: 0 auto; aspect-ratio: 21/9; border-radius: var(--radius-lg);
	overflow: hidden;
	background: linear-gradient(135deg, var(--blush), var(--peach)); box-shadow: var(--shadow-lg);
	display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 220px 1fr 280px; gap: 50px; align-items: start; }
.post-toc { position: sticky; top: 120px; background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.post-toc h4 { font-family: var(--font-alt-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; color: var(--pink-dark); }
.post-toc ul li { margin-bottom: 10px; }
.post-toc a { font-size: .88rem; color: var(--muted); }
.post-toc a:hover, .post-toc a.active { color: var(--pink-dark); }

.post-content h2 { margin-top: 42px; margin-bottom: 16px; font-size: 1.5rem; }
.post-content h3 { margin-top: 28px; margin-bottom: 12px; }
.post-content p { margin-bottom: 18px; font-size: 1.02rem; }
.post-content ul, .post-content ol { margin: 0 0 22px 22px; color: var(--muted); }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
	border-left: 4px solid var(--pink); background: var(--blush); padding: 20px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic; margin: 26px 0; color: var(--ink);
}
.post-content figure { margin: 30px 0; }
.post-content figure .card-media { aspect-ratio: 16/9; border-radius: var(--radius-md); }
.post-content figcaption { text-align: center; font-size: .85rem; margin-top: 10px; color: var(--muted); }

.share-buttons { display: flex; gap: 10px; margin: 30px 0; }
.share-buttons a { width: 42px; height: 42px; border-radius: 50%; background: var(--grey); display: flex; align-items: center; justify-content: center; transition: background .25s ease, transform .25s ease; }
.share-buttons a:hover { background: var(--gradient-brand); color: #fff; transform: translateY(-3px); }

.post-sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 28px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.sidebar-card h4 { font-family: var(--font-alt-head); font-size: .9rem; margin-bottom: 16px; }
.sidebar-post { display: flex; gap: 12px; margin-bottom: 16px; }
.sidebar-post .card-media { width: 68px; height: 68px; border-radius: var(--radius-sm); font-size: 1.4rem; flex-shrink: 0; }
.sidebar-post h5 { font-size: .88rem; font-weight: 600; line-height: 1.4; }
.author-box { display: flex; gap: 14px; align-items: center; }
.author-box .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.post-nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.post-nav-links a { max-width: 45%; font-size: .92rem; }
.post-nav-links .dir { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pink-dark); margin-bottom: 4px; }
.post-nav-links .next { text-align: right; margin-left: auto; }

.related-posts { margin: 60px 0; }
.comments { margin-top: 50px; }
.comment { display: flex; gap: 16px; margin-bottom: 26px; }
.comment .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--pink-dark); flex-shrink: 0; }
.comment .name { font-weight: 600; font-size: .92rem; }
.comment .date { font-size: .78rem; color: var(--muted); margin-left: 8px; }
.comment p { margin-top: 6px; font-size: .92rem; }
.comment .reply { font-size: .8rem; font-weight: 600; color: var(--pink-dark); }
.comment.reply-to { margin-left: 62px; }
.comment-form { margin-top: 30px; display: grid; gap: 14px; }
.comment-form textarea, .comment-form input {
	width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); font-size: .92rem;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 1080px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-toc { position: static; order: 2; }
	.post-sidebar { position: static; order: 3; flex-direction: row; flex-wrap: wrap; }
	.sidebar-card { flex: 1 1 260px; }
}
@media (max-width: 640px) {
	.comment-form-row { grid-template-columns: 1fr; }
	.post-nav-links { flex-direction: column; }
	.post-nav-links a { max-width: 100%; }
}

/* ==========================================================================
   Blog listing page
   ========================================================================== */
.listing-layout { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
.listing-toolbar { display: flex; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.search-box { position: relative; flex: 1; min-width: 240px; }
.search-box input {
	width: 100%; padding: 14px 20px 14px 46px; border-radius: var(--radius-pill); border: 1px solid var(--border);
	background: var(--white); font-size: .92rem;
}
.search-box::before { content: '🔍'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: .9rem; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chips button {
	padding: 9px 18px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--border);
	font-size: .82rem; font-weight: 500; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-chips button.active, .filter-chips button:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sort-select { padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--white); font-size: .85rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a {
	width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--white); box-shadow: var(--shadow-sm); font-weight: 600; font-size: .88rem;
}
.pagination a.active { background: var(--gradient-brand); color: #fff; }
.listing-sidebar { display: flex; flex-direction: column; gap: 26px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--grey); font-size: .8rem; }
.tag-cloud a:hover { background: var(--blush); color: var(--pink-dark); }

@media (max-width: 960px) {
	.listing-layout { grid-template-columns: 1fr; }
	.listing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Simple content pages (privacy / terms / disclaimer / contact)
   ========================================================================== */
.simple-page { max-width: 820px; margin: 0 auto; }
.simple-page h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.4rem; }
.simple-page p, .simple-page li { margin-bottom: 14px; }
.simple-page ul { margin-left: 20px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--cream); font-size: .95rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.contact-info-card .info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-card .info-row .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }
.error-page { text-align: center; padding: 220px 0 140px; }
.error-page .error-code { font-family: var(--font-head); font-size: 7rem; color: var(--pink); line-height: 1; }
@media (max-width: 860px) {
	.contact-layout { grid-template-columns: 1fr; }
}
