/*
Theme Name: Zakir Hossain — Growth Engines
Theme URI: https://growthgrain.example
Author: Zakir Hossain
Author URI: https://growthgrain.example
Description: A positioning-first personal branding theme for fractional growth leads and operators. Fully editable via the WordPress Customizer — headline, bio, colors, photo, stats, ventures and newsletter copy all controllable without touching code.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zakir-growth
*/

:root {
  --gg-blue: #1d4ed8;
  --gg-blue-dark: #1e40af;
  --gg-ink: #0a0a0a;
  --gg-bg: #eeeeee;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gg-bg);
  color: var(--gg-ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-load {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0; transform: translateY(20px);
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-load { animation: none; opacity: 1; transform: none; }
}

/* ---------- background texture ---------- */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}

/* ---------- layout shell ---------- */
.site-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}
.container { width: 100%; margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  width: 100%; position: relative; z-index: 50;
  padding: 24px 24px 0;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .nav { padding: 24px 48px 0; } }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gg-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: -0.02em;
}
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.brand-logo { height: 28px; width: auto; display: block; }

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: rgba(0,0,0,0.7); }
.nav-links a:hover { color: #000; }

.nav-actions { display: none; align-items: center; gap: 16px; }
.nav-actions .login { font-size: 13px; color: rgba(0,0,0,0.8); }
.nav-actions .login:hover { color: #000; }
.btn-pill-dark {
  background: #000; color: #fff; padding: 10px 24px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.btn-pill-dark:hover { background: rgba(0,0,0,0.85); }

@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
}

.menu-toggle { background: none; border: none; cursor: pointer; padding: 4px; color: #000; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(238,238,238,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 0; }
.mobile-menu-links { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu-links a { font-size: 24px; font-weight: 500; }
.mobile-menu-links .btn-pill-dark { margin-top: 16px; padding: 12px 32px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 10; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 24px; text-align: center;
}

.intro-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.avatar-sm {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--gg-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  box-shadow: 0 0 0 2px #fff, 0 4px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.intro-row .intro-text { font-size: 14px; font-weight: 500; color: rgba(0,0,0,0.7); }
@media (min-width: 768px) {
  .avatar-sm { width: 56px; height: 56px; font-size: 18px; }
  .intro-row .intro-text { font-size: 15px; }
}

.status-pill {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px; padding: 6px 16px 6px 6px;
  margin-bottom: 32px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.status-pill .tag {
  background: var(--gg-blue); color: #fff; font-size: 10px;
  text-transform: uppercase; font-weight: 700; border-radius: 999px;
  padding: 4px 10px; margin-right: 10px;
}
.status-pill .status-text { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; }

.headline {
  font-size: 34px; font-weight: 600; line-height: 1.08;
  letter-spacing: -0.025em; max-width: 860px; margin: 0;
}
.headline .accent { color: var(--gg-blue); }
@media (min-width: 768px) { .headline { font-size: 46px; } }
@media (min-width: 1024px) { .headline { font-size: 58px; } }
.headline br { display: none; }
@media (min-width: 768px) { .headline br { display: block; } }

.subhead {
  color: rgba(0,0,0,0.6); font-size: 16px; font-weight: 300;
  margin: 24px 0 36px; max-width: 600px; line-height: 1.6;
}
@media (min-width: 768px) { .subhead { font-size: 19px; } }

.cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } }

.btn-primary {
  background: var(--gg-blue); color: #fff;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gg-blue-dark); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.btn-primary .arrow-circle {
  width: 32px; height: 32px; border-radius: 999px;
  background: #fff; color: var(--gg-blue);
  display: flex; align-items: center; justify-content: center;
}
.btn-primary .arrow-circle svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-primary:hover .arrow-circle svg { transform: translateX(2px); }

.btn-ghost {
  font-size: 14px; font-weight: 500; color: rgba(0,0,0,0.7);
  padding: 14px 20px; border-radius: 999px; transition: background 0.2s;
}
.btn-ghost:hover { color: #000; background: rgba(0,0,0,0.05); }

/* ---------- proof strip ---------- */
.proof { margin-top: 56px; width: 100%; max-width: 820px; }
.proof-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(0,0,0,0.4); margin-bottom: 20px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(0,0,0,0.1); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-cell { background: #fff; padding: 24px 20px; }
.proof-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--gg-blue); }
@media (min-width: 768px) { .proof-num { font-size: 30px; } }
.proof-cap { font-size: 12px; color: rgba(0,0,0,0.55); margin-top: 4px; line-height: 1.3; }

/* ---------- ventures ---------- */
.ventures { position: relative; z-index: 10; padding: 16px 24px 80px; max-width: 960px; margin: 0 auto; width: 100%; }
.ventures-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.ventures-label { font-size: 12px; color: rgba(0,0,0,0.4); margin-right: 4px; }
.chip {
  background: #fff; border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500;
}

/* ---------- about ---------- */
.about { position: relative; z-index: 10; padding: 16px 24px 80px; width: 100%; }
@media (min-width: 1024px) { .about { padding: 16px 48px 80px; } }
.about-card {
  max-width: 860px; margin: 0 auto; background: #fff;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 24px;
  padding: 40px 28px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { .about-card { padding: 48px; } }
.about-inner { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .about-inner { flex-direction: row; align-items: flex-start; gap: 40px; } }

.about-photo-wrap { flex-shrink: 0; margin: 0 auto; position: relative; }
@media (min-width: 768px) { .about-photo-wrap { margin: 0; } }
.about-photo {
  width: 112px; height: 112px; border-radius: 16px;
  background: var(--gg-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700; letter-spacing: -0.02em; overflow: hidden;
}
@media (min-width: 768px) { .about-photo { width: 128px; height: 128px; } }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -8px; right: -8px;
  background: var(--gg-ink); color: #fff; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}

.about-body { text-align: center; }
@media (min-width: 768px) { .about-body { text-align: left; } }
.about-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(0,0,0,0.4); margin-bottom: 12px; }
.about-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 16px; }
@media (min-width: 768px) { .about-title { font-size: 30px; } }
.about-text p { font-size: 15px; color: rgba(0,0,0,0.65); font-weight: 300; line-height: 1.6; margin: 0 0 16px; }
@media (min-width: 768px) { .about-text p { font-size: 16px; } }
.about-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
@media (min-width: 768px) { .about-tags { justify-content: flex-start; } }
.about-tags .lbl { font-size: 12px; color: rgba(0,0,0,0.45); }
.tag-soft { background: rgba(0,0,0,0.05); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 500; }

/* ---------- newsletter ---------- */
.newsletter { position: relative; z-index: 10; padding: 0 24px 96px; width: 100%; }
.newsletter-card {
  max-width: 640px; margin: 0 auto; background: var(--gg-ink); color: #fff;
  border-radius: 24px; padding: 48px 28px; text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
@media (min-width: 768px) { .newsletter-card { padding: 48px; } }
.newsletter-card h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
@media (min-width: 768px) { .newsletter-card h2 { font-size: 30px; } }
.newsletter-card .sub { color: rgba(255,255,255,0.55); font-size: 15px; font-weight: 300; margin: 12px auto 0; max-width: 440px; line-height: 1.6; }
.news-form { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .news-form { flex-direction: row; } }
.news-form input {
  flex: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 12px 20px; font-size: 14px; color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.news-form input::placeholder { color: rgba(255,255,255,0.4); }
.news-form input:focus { outline: none; border-color: var(--gg-blue); background: rgba(255,255,255,0.15); }
.news-form button {
  background: var(--gg-blue); color: #fff; border: none; cursor: pointer;
  padding: 12px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  white-space: nowrap; transition: background 0.2s;
}
.news-form button:hover { background: var(--gg-blue-dark); }
.news-note { color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 16px; }
.news-note.ok { color: #60a5fa; }
.news-note.err { color: #f87171; }

.news-cta-wrap { margin-top: 28px; display: flex; justify-content: center; }
.news-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gg-blue); color: #fff;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.news-cta-btn:hover { background: var(--gg-blue-dark); transform: translateY(-1px); }
.news-cta-btn svg { transition: transform 0.3s; }
.news-cta-btn:hover svg { transform: translateX(2px); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; z-index: 10; border-top: 1px solid rgba(0,0,0,0.1);
  padding: 32px 24px; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(0,0,0,0.5);
}
@media (min-width: 640px) { .site-footer { flex-direction: row; padding: 32px 48px; } }
.footer-social { display: flex; align-items: center; gap: 24px; }
.footer-social a:hover { color: #000; }

/* WP admin bar offset */
.admin-bar .mobile-menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .mobile-menu { top: 46px; } }
