/* ===========================================================
   Esther Arinze — Reverse Recruiter + Executive VA
   Portfolio design system
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0F1F35;
  --ink-soft: #1E2E44;
  --green: #1DBF73;
  --green-dark: #15A45E;
  --green-soft: #F1F9F4;
  --gold: #C99A3B;
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --gray-text: #5B6472;
  --gray-line: #E5E7EB;
  --gray-tint: #F5F6F5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --max-w: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; background: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { color: var(--gray-text); }
.lede { font-size: 1.15rem; color: var(--gray-text); line-height: 1.7; }

/* Eyebrow — that small label above every headline */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dark);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
}

/* Green highlight for emphasized words */
.hl {
  background: linear-gradient(180deg, transparent 55%, rgba(29,191,115,0.28) 55%);
  padding: 0 4px;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-line);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-body);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green);
}
.nav-cta {
  background: var(--ink); color: var(--white);
  padding: 10px 20px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark); color: var(--white); }
.nav-toggle { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 500; font-size: 0.98rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--gray-line);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); padding: 14px 0; }
.btn-ghost:hover { color: var(--green-dark); }
.btn-arrow::after { content: '→'; font-size: 1.1em; }

/* ===== HERO ===== */
.hero { padding: 80px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.2rem; margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex; gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--gray-line);
}
.hero-meta-item .num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ink);
  line-height: 1;
}
.hero-meta-item .lbl {
  font-size: 0.82rem; color: var(--gray-text); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ===== SIGNATURE: THE TRACKER PREVIEW (home page hero) ===== */
.tracker-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px -20px rgba(15,31,53,0.18), 0 4px 12px rgba(15,31,53,0.04);
  border: 1px solid var(--gray-line);
  position: relative;
}
.tracker-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-line);
}
.tracker-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tracker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  display: inline-block; margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.tracker-live { font-size: 0.78rem; color: var(--gray-text); font-weight: 500; }
.tracker-row {
  display: grid; grid-template-columns: 1.4fr 1.2fr 0.9fr;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--gray-line);
  font-size: 0.85rem;
  align-items: center;
}
.tracker-row:last-child { border-bottom: none; }
.tracker-row .role { color: var(--ink); font-weight: 500; }
.tracker-row .co { color: var(--gray-text); }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
  font-family: var(--font-body); letter-spacing: 0.02em;
}
.pill-applied { background: #FEF3C7; color: #92400E; }
.pill-interview { background: #DCFCE7; color: #166534; }
.pill-offer { background: #DBEAFE; color: #1E40AF; }
.tracker-foot {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--gray-line);
  display: flex; justify-content: space-between; font-size: 0.82rem;
  color: var(--gray-text);
}
.tracker-foot strong { color: var(--ink); }

/* ===== TWO-SERVICE SPLIT ===== */
.services-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-line);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(15,31,53,0.18);
}
.service-card .card-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 400;
  color: var(--green); line-height: 1; opacity: 0.6;
}
.service-card h3 { margin: 12px 0 12px; }
.service-card ul { list-style: none; margin: 20px 0; }
.service-card li {
  padding: 8px 0 8px 26px; position: relative;
  color: var(--gray-text); font-size: 0.95rem;
  border-bottom: 1px dashed var(--gray-line);
}
.service-card li:last-child { border-bottom: none; }
.service-card li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--green); font-weight: 600;
}
.service-card .card-foot { margin-top: auto; padding-top: 24px; }

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute; top: -60px; right: 20px;
  font-family: var(--font-display);
  font-size: 20rem; color: var(--green); opacity: 0.15;
  line-height: 1;
}
.testimonial .eyebrow { color: var(--gold); border-color: var(--gold); }
.testimonial-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500; line-height: 1.4; margin-bottom: 32px;
  max-width: 800px; position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; color: var(--white); }
.testimonial-meta { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; }

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--green-soft);
  padding: 60px 0;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.stat-lbl {
  font-size: 0.85rem; color: var(--gray-text);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.75; }
.about-content p strong { color: var(--ink); font-weight: 600; }
.about-side {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--gray-line);
  position: sticky; top: 100px;
}
.about-side h4 {
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.78rem;
  color: var(--gray-text); margin-bottom: 20px; font-weight: 600;
}
.about-side ul { list-style: none; margin-bottom: 28px; }
.about-side li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-line);
  font-size: 0.92rem; color: var(--ink);
}
.about-side li:last-child { border-bottom: none; }
.about-side li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }

/* ===== PORTFOLIO PAGE ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.project {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-line);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.project-visual {
  aspect-ratio: 16 / 10;
  background: var(--green-soft);
  display: grid; place-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--gray-line);
}
.project-visual img { border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(15,31,53,0.08); }
.project-body { padding: 28px; }
.project-cat {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  background: var(--green-soft); color: var(--green-dark);
  text-transform: uppercase; margin-bottom: 12px;
}
.project h3 { margin-bottom: 8px; }
.project-desc { font-size: 0.95rem; color: var(--gray-text); }
.project-outcome {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--gray-line);
  font-size: 0.88rem;
}
.project-outcome strong { color: var(--green-dark); }

/* ===== CONTACT PAGE ===== */
.contact-hero { text-align: center; padding: 80px 0 40px; }
.contact-hero h1 { max-width: 800px; margin: 0 auto 24px; }
.contact-hero .lede { max-width: 600px; margin: 0 auto; }

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 40px 0;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-line);
  text-align: center;
  transition: all 0.2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 16px 32px -12px rgba(29,191,115,0.2);
}
.contact-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.contact-card h4 {
  font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.88rem; color: var(--gray-text);
  margin-bottom: 16px;
}
.contact-card .action {
  font-size: 0.92rem; font-weight: 500; color: var(--green-dark);
}
.contact-card .action::after { content: ' →'; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: var(--white);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h5 {
  font-family: var(--font-body); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5); margin-bottom: 18px; font-weight: 600;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 12px; font-weight: 600;
}
.footer-tag { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; }
.footer ul a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer ul a:hover { color: var(--green); }
.footer-bottom {
  padding-top: 32px; text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-split { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonial { padding: 40px 28px; }
  .testimonial::before { font-size: 12rem; top: -30px; }

  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--gray-line); transform: translateY(-120%); transition: transform 0.3s; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; font-size: 1.4rem; color: var(--ink); }
}
@media (max-width: 500px) {
  h1 { font-size: 2.2rem; }
  .service-card, .testimonial { padding: 32px 24px; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
