/* NestingNook — burgundy / forest / gold / cream. Mobile-first. */
:root {
  --burgundy: #5c1f1f;
  --burgundy-dark: #471717;
  --forest: #2f4a3c;
  --forest-light: #eef2ec;
  --gold: #b08a3c;
  --gold-light: #e9d9ae;
  --cream: #fbf6ec;
  --cream-dark: #f3ead6;
  --ink: #2b2320;
  --muted: #6b5d54;
  --white: #fffdf8;
  --border: #e3d9c4;
  --shadow: 0 2px 10px rgba(92, 31, 31, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; color: var(--burgundy); line-height: 1.25; }
h1 { font-size: 2.1rem; margin: 0 0 .6rem; }
h2 { font-size: 1.55rem; margin: 1.8rem 0 .7rem; }
h3 { font-size: 1.2rem; margin: 1.2rem 0 .4rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: .35rem; }
main { max-width: 1080px; margin: 0 auto; padding: 0 20px 3rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.header-inner { max-width: 1080px; margin: 0 auto; padding: .6rem 20px; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand-logo { border-radius: 50%; border: 2px solid var(--gold); width: 52px; height: 52px; object-fit: cover; }
.brand-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; font-weight: 700; color: var(--burgundy); letter-spacing: .02em; }
.brand-tag { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; list-style: none; margin: 0; gap: .25rem; }
.site-nav a { display: block; padding: .5rem .7rem; color: var(--ink); font-weight: 600; border-radius: 6px; }
.site-nav a:hover { background: var(--cream-dark); text-decoration: none; }
.site-nav a.active { color: var(--burgundy); background: var(--cream-dark); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 6px; font-size: 1.4rem; line-height: 1; padding: .35rem .6rem; color: var(--burgundy); cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 2.2rem 0 1.5rem; }
.hero-text h1 { font-size: 2.6rem; }
.hero-text .lede { font-size: 1.15rem; color: var(--muted); }
.hero-image img { border-radius: 14px; box-shadow: var(--shadow); }
.hero-cta { margin-top: 1rem; }
.btn { display: inline-block; background: var(--burgundy); color: #fff; padding: .65rem 1.3rem; border-radius: 8px; font-weight: 700; }
.btn:hover { background: var(--burgundy-dark); text-decoration: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7730; }

/* Sections & grids */
.section { padding: 1.6rem 0 .4rem; }
.section-title { font-size: 1.7rem; margin-bottom: .3rem; }
.section-intro { color: var(--muted); margin-bottom: 1.2rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.card a { display: block; color: inherit; height: 100%; }
.card a:hover { text-decoration: none; }
.card a:hover h3 { color: var(--gold); }
.card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.card h3 { font-size: 1.05rem; padding: .7rem .9rem 0; margin: 0; }
.card p { padding: .35rem .9rem .9rem; font-size: .93rem; color: var(--muted); margin: 0; }
.card-badge { display: inline-block; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 20px; margin: .7rem .9rem 0; }
.card-teaser { background: var(--cream-dark); }
.teaser-body { padding: .9rem; }
.teaser-body h3 { padding: 0; margin-top: .5rem; }
.teaser-body p { padding: 0; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile { display: block; border-radius: 12px; overflow: hidden; position: relative; min-height: 170px; background: var(--forest); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .85; }
.tile span { position: relative; display: block; padding: 1rem; font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.tile:hover { text-decoration: none; }
.tile.plum { background: var(--burgundy); }
.tile.green { background: var(--forest); }
.tile.gold { background: var(--gold); }
.tile.cream { background: var(--cream-dark); color: var(--burgundy); }
.tile.cream span { color: var(--burgundy); text-shadow: none; }

/* Feature band */
.feature-band { background: var(--burgundy); color: #fff; border-radius: 14px; padding: 1.8rem; margin: 1.8rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.feature-band h2 { color: #fff; margin-top: 0; }
.feature-band p { color: #f3e6cf; }
.feature-band img { border-radius: 10px; }

/* Page head */
.page-head { padding: 2rem 0 .5rem; }
.page-head .lede { font-size: 1.12rem; color: var(--muted); max-width: 720px; }

/* Breadcrumbs */
.breadcrumbs { padding: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: .35rem; color: var(--gold); }
.breadcrumbs a { color: var(--muted); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-hero { margin: 1.2rem 0 1.5rem; }
.article-hero img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }
.article-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.byline { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.disclosure-note { background: var(--forest-light); border-left: 4px solid var(--forest); padding: .7rem .9rem; font-size: .92rem; border-radius: 0 8px 8px 0; }
.article h2 { border-bottom: 2px solid var(--gold-light); padding-bottom: .35rem; }
.article ul.tick { list-style: none; margin-left: 0; }
.article ul.tick li { padding-left: 1.6rem; position: relative; }
.article ul.tick li::before { content: "\2713"; position: absolute; left: 0; color: var(--forest); font-weight: 700; }
.checklist li { margin-bottom: .6rem; }
.callout { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.callout h3 { margin-top: 0; }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 2rem 0; }
.faq h2 { margin-top: 0; }
.faq-item { border-top: 1px solid var(--border); padding: .8rem 0; }
.faq-item:first-of-type { border-top: none; }
.faq-item h3 { font-family: "Source Sans 3", sans-serif; font-size: 1.05rem; color: var(--ink); margin: 0 0 .3rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Pillar guide + cluster box */
.guide { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.6rem; margin: 1.5rem 0; }
.guide h2 { margin-top: 0; }
.cluster-box { background: var(--forest-light); border: 1px solid #cfe0d2; border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.cluster-box h2 { margin-top: 0; color: var(--forest); }
.cluster-box ul { columns: 2; }
.pillar-faq { margin-top: 1.5rem; }

/* Hub sections */
.hub-section { margin: 1.8rem 0; }
.hub-section h2 { margin-bottom: .4rem; }

/* Pinterest CTA */
.pinterest-cta { background: var(--burgundy); color: #fff; border-radius: 12px; padding: 1.2rem 1.4rem; margin: 2rem 0; text-align: center; }
.pinterest-cta p { margin: 0; color: #f3e6cf; }
.pinterest-cta a { color: #fff; font-weight: 700; text-decoration: underline; }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin: 1.5rem 0; }
.about-teaser img { border-radius: 50%; width: 170px; height: 170px; object-fit: cover; margin: 0 auto; border: 3px solid var(--gold); }
.about-teaser h2 { margin-top: 0; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 1.6rem; }

/* 404 */
.error-page { text-align: center; padding: 3rem 0; }
.error-page h1 { font-size: 3rem; }

/* Footer */
.site-footer { background: var(--burgundy); color: #f3e6cf; margin-top: 2rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 2rem 20px 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { min-width: 0; }
.footer-col p { margin-bottom: .6rem; }
.site-footer h3 { color: var(--gold-light); font-size: 1.05rem; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: #f3e6cf; }
.site-footer p { color: #e8d9bd; font-size: .95rem; }
.footer-disclosure { border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 20px; text-align: center; font-size: .88rem; }
.footer-disclosure p { margin: 0; color: #e8d9bd; }
.footer-copy { text-align: center; padding: 0 20px 1.4rem; font-size: .85rem; }
.footer-copy p { margin: 0; color: #d9c6a4; }
.pinterest-link { font-weight: 700; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.1rem; }
  .card-grid, .card-grid.three, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-band { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .cluster-box ul { columns: 1; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--gold); padding: .5rem 20px 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .card-grid, .card-grid.three, .tile-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  .brand-tag { display: none; }
}
