/* Petals Lean: no framework, no icon font. */
:root {
	--blue: #3d86d4;
	--blue-dark: #2c6fb8;
	--orange: #f0a04b;
	--ink: #26323c;
	--muted: #6b7680;
	--line: #e7ebef;
	--bg: #ffffff;
	--soft: #f6f8fa;
	--wrap: 1160px;
	--radius: 10px;
	--shadow: 0 2px 10px rgba(20, 40, 60, .08);
	--shadow-hover: 0 8px 22px rgba(20, 40, 60, .16);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 "Poppins", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 9; }

/* Header */
.logo-wrap { padding: 22px 20px 14px; text-align: center; }
.logo img { width: min(340px, 78vw); height: auto; margin: 0 auto; }
.primary-nav { background: var(--blue); box-shadow: 0 2px 6px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 10; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; }
.primary-nav .menu a { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: opacity .2s; }
.primary-nav .menu a:hover, .primary-nav .menu a:focus { opacity: .8; }
.search-form { display: flex; justify-content: center; gap: 0; padding: 0 20px 14px; }
.search-form input { padding: 8px 14px; border: 1px solid rgba(255,255,255,.6); border-right: 0; border-radius: 999px 0 0 999px; min-width: 240px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.search-form button { padding: 8px 18px; border: 0; border-radius: 0 999px 999px 0; background: var(--orange); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Hero: two large feature cards, then four smaller ones */
.hero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.card-large { grid-column: span 2; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; background: #ddd; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card a { position: relative; display: block; color: #fff; text-decoration: none; }
.card img { width: 100%; height: auto; object-fit: cover; transition: transform .4s; }
.card:hover img { transform: scale(1.03); }
.card-large img { aspect-ratio: 3 / 2; }
.card-small img { aspect-ratio: 4 / 3; }
.card-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 16px; background: linear-gradient(transparent, rgba(10,20,30,.82)); font-weight: 600; font-size: 21px; line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.card-small .card-title { font-size: 15px; padding: 40px 12px 12px; }

/* Post grid */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; margin: 40px auto 56px; }
.entry-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.entry-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.entry-card .thumb { display: block; }
.entry-card .thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.entry-title { font-size: 18px; line-height: 1.35; margin: 16px 18px 6px; font-weight: 600; }
.entry-title a { text-decoration: none; color: var(--ink); }
.entry-title a:hover { color: var(--blue); }
.entry-excerpt { margin: 0 18px 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.entry-excerpt p { margin: 0; }

/* Archive and search headings */
.archive-header { text-align: center; margin: 40px 0 0; }
.archive-header h1 { font-size: clamp(26px, 3.5vw, 34px); margin: 0; }
.archive-desc { color: var(--muted); margin-top: 8px; }

/* Single post and page */
.single-wrap { max-width: 760px; margin: 36px auto 56px; padding: 0 20px; }
.kicker { display: inline-block; color: #fff; background: var(--orange); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin: 0 0 14px; }
.entry h1 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.2; margin: 0 0 10px; font-weight: 700; }
.byline { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.entry-hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content h2 { font-size: 26px; margin: 1.8em 0 .6em; font-weight: 700; }
.entry-content h3 { font-size: 20px; margin: 1.5em 0 .5em; font-weight: 600; }
.entry-content a { color: var(--blue); }
.entry-content img { border-radius: 8px; height: auto; margin: 1em auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }

/* Footer */
.site-footer { margin-top: 24px; padding: 32px 0; background: var(--blue-dark); color: #fff; text-align: center; }
.site-footer a { color: #fff; }
.footer-menu { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; font-size: 14px; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.copy { margin: 0; font-size: 13px; opacity: .85; }

/* Phone width */
@media (max-width: 860px) {
	.hero { grid-template-columns: repeat(2, 1fr); }
	.card-large { grid-column: span 2; }
}
@media (max-width: 560px) {
	.hero { grid-template-columns: 1fr; gap: 14px; }
	.card-large, .card-small { grid-column: auto; }
	.primary-nav .menu { gap: 0 16px; }
	.primary-nav .menu a { font-size: 12px; padding: 12px 2px; }
	.search-form input { min-width: 0; width: 60vw; }
	.card-title { font-size: 18px; }
}

/* Homepage welcome, seasonal block */
.welcome { text-align: center; margin-top: 36px; }
.welcome-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; font-weight: 700; color: var(--blue-dark); }
.welcome-text { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.section-title { font-size: 24px; font-weight: 700; margin: 44px 0 18px; padding-bottom: 10px; border-bottom: 3px solid var(--blue); display: inline-block; }
.seasonal { margin-top: 8px; }
.seasonal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seasonal .entry-title { font-size: 17px; }
@media (max-width: 720px) { .seasonal-grid { grid-template-columns: 1fr; } }

/* ---- Personality pass: Fraunces display + Nunito body ---- */
body { font-family: "Nunito", system-ui, sans-serif; font-size: 17px; line-height: 1.7; }
h1, h2, h3, .entry-title, .card-title, .welcome-title, .section-title, .entry h1, .archive-header h1 { font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -.01em; }
.primary-nav .menu a { font-family: "Nunito", sans-serif; font-weight: 700; }

/* Welcome */
.welcome { background: linear-gradient(180deg, #eef6ea 0%, #ffffff 100%); padding: 48px 0 28px; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 12px; color: #3f7a3a; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.welcome-title { font-size: clamp(32px, 5vw, 50px); margin: 0 0 12px; color: #1f3d2b; line-height: 1.12; }
.welcome-text { max-width: 600px; margin: 0 auto; color: #4b5a52; font-size: 18px; }

/* Browse tiles */
.browse { margin-top: 36px; }
.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.browse-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 110px; padding: 18px 20px; border-radius: var(--radius); text-decoration: none; color: #fff; background: #3f7a3a; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow); }
.browse-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.browse-label { font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.2; }
.browse-count { font-size: 13px; opacity: .9; margin-top: 4px; }
.browse-garden { background: #3f7a3a; }
.browse-tips { background: #c8702a; }
.browse-landscaping { background: #7a5c3e; }
.browse-plants { background: #2f7f8c; }
.browse-pests { background: #9c3d3d; }
.browse-microgarden { background: #5f6fa8; }

/* Section titles with personality */
.section-title { font-size: clamp(24px, 3vw, 30px); border-bottom: 0; padding-bottom: 0; margin: 48px 0 18px; display: block; text-align: left; color: #1f3d2b; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: #f0a04b; margin-top: 8px; }

/* Seasonal cards: equal heights */
.seasonal-grid { gap: 20px; }
.seasonal .entry-card { display: flex; flex-direction: column; height: 100%; }
.seasonal .entry-title { font-size: 19px; margin: 14px 16px 16px; }

/* Hero: consistent gap and title treatment */
.hero { margin-top: 24px; }
.card-title { font-family: "Fraunces", Georgia, serif; font-weight: 700; }

/* Closing ask */
.ask { margin: 56px auto 0; padding: 36px 24px; text-align: center; background: #1f3d2b; color: #fff; border-radius: 14px; max-width: 1160px; }
.ask h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.ask p { margin: 0 auto; max-width: 560px; opacity: .9; }

@media (max-width: 720px) {
	.browse-grid { grid-template-columns: repeat(2, 1fr); }
	.welcome-text { font-size: 16px; }
}
@media (max-width: 480px) {
	.browse-grid { grid-template-columns: 1fr; }
}
