/* ========================================
   The Honest Painter — Main Stylesheet
   Mobile-first. No framework. No bloat.
   ======================================== */

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1a1a1a; background: #fafafa; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- TOKENS --- */
:root {
  --brand: #2d5016;       /* forest green — honest, grounded */
  --brand-light: #4a7c28;
  --accent: #d4a017;      /* gold — premium, earned */
  --dark: #1a1a1a;
  --mid: #555;
  --light: #f5f3ef;       /* warm white */
  --white: #fff;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --max-w: 1200px;
}

/* --- LAYOUT --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- NAV --- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #e5e5e5; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo-img { height: 40px; }
.nav-links { display: none; gap: 1.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { color: var(--brand) !important; font-weight: 700 !important; }
.mobile-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); transition: 0.2s; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
}

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-light); }
.btn-secondary { background: var(--white); color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: var(--brand); color: var(--white); }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

/* --- HERO --- */
.hero { padding: 4rem 0; text-align: center; background: var(--light); }
.hero h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }
.hero .accent { color: var(--brand); }
.hero-sub { color: var(--mid); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero { padding: 6rem 0; }
  .hero h1 { font-size: 3rem; }
}

/* --- AUDIENCE CARDS --- */
.audiences { padding: 4rem 0; }
.audience-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.audience-card h3 { margin-bottom: 0.75rem; }
.audience-card p { color: var(--mid); margin-bottom: 1rem; }
.card-highlight { border: 2px solid var(--brand); }
.card-link { color: var(--brand); font-weight: 600; }
.card-link:hover { text-decoration: underline; }

/* --- GALLERY --- */
.gallery-preview { padding: 4rem 0; background: var(--white); }
.gallery-preview h2 { text-align: center; margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: var(--mid); margin-bottom: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.gallery-grid.full { grid-template-columns: repeat(2, 1fr); }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.full { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .gallery-grid.full { grid-template-columns: repeat(4, 1fr); }
}

.gallery-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.filter-btn { padding: 0.5rem 1rem; border: 1px solid #ddd; border-radius: 20px; background: var(--white); cursor: pointer; font-size: 0.85rem; }
.filter-btn.active { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* --- PLAYGROUND TEASER --- */
.playground-teaser { padding: 4rem 0; background: var(--dark); color: var(--white); text-align: center; }
.playground-teaser h2 { margin-bottom: 0.5rem; }
.playground-teaser p { color: #ccc; margin-bottom: 2rem; }

/* --- PACKAGE DETAILS --- */
.package-details { padding: 4rem 0; }
.feature-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card h3 { margin-bottom: 1rem; color: var(--brand); }
.feature-card ul { padding-left: 1rem; }
.feature-card li { margin-bottom: 0.5rem; list-style: disc; color: var(--mid); }
.disclaimer { font-size: 0.8rem; color: #999; margin-top: 1rem; font-style: italic; }

/* --- PRICING --- */
.pricing { padding: 4rem 0; background: var(--light); text-align: center; }
.price-card { background: var(--white); display: inline-block; padding: 2rem 3rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2rem; }
.price-card h2 { font-size: 2.5rem; color: var(--brand); }
.price-note { font-size: 1rem; color: var(--mid); font-weight: 400; }
.addons-grid { display: grid; gap: 0.5rem; max-width: 500px; margin: 1rem auto 0; text-align: left; }
.addon { display: flex; justify-content: space-between; padding: 0.75rem 1rem; background: var(--white); border-radius: var(--radius); }
.addon span { font-weight: 600; color: var(--brand); }

/* --- FORMS --- */
.intake-form { max-width: 600px; margin: 0 auto; }
.intake-form label { display: block; margin-bottom: 1rem; font-weight: 500; font-size: 0.95rem; }
.intake-form input, .intake-form select, .intake-form textarea { display: block; width: 100%; margin-top: 0.25rem; padding: 0.75rem; border: 1px solid #ddd; border-radius: var(--radius); font-size: 1rem; font-family: inherit; }
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,80,22,0.1); }
.intake-form .btn { width: 100%; margin-top: 1rem; padding: 1rem; font-size: 1.1rem; }

/* --- FOOTER --- */
.site-footer { padding: 3rem 0; background: var(--dark); color: #ccc; }
.footer-wrap { display: flex; flex-direction: column; gap: 2rem; }
.footer-logo { height: 30px; filter: brightness(0) invert(1); margin-bottom: 0.5rem; }
.footer-note { font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer-wrap { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* --- UTILITY --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.placeholder { padding: 4rem 2rem; text-align: center; color: #999; background: #f0f0f0; border-radius: var(--radius); }
