/* ============================================
   JH Marketing — light rebuild with bold accents
   Design direction: white/off-white base with generous
   white space, purple->pink gradient used as punctuation
   (headlines, buttons, borders), plus two contrasting
   dark/gradient sections (stats bar, contact CTA) to keep
   an edgy, agency feel rather than an all-white flat look.
   This is a creative interpretation, not extracted from
   the original Framer CSS.
   ============================================ */

:root {
  --white: #FFFFFF;
  --off-white: #FAFAF9;
  --ink: #111114;
  --grey: #5B5A63;
  --grey-dim: #8B8A93;
  --line: #E7E5E2;
  --black: #0A0A0C;
  --charcoal: #131317;
  --purple: #7C3AED;
  --pink: #EC4899;
  --gradient: linear-gradient(115deg, #7C3AED 0%, #C13FD6 50%, #EC4899 100%);
  --gradient-soft: linear-gradient(115deg, rgba(124,58,237,0.08) 0%, rgba(236,72,153,0.08) 100%);
  --radius: 18px;
  --max: 1180px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; line-height: 1.65; color: var(--grey); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.eyebrow-light { background: none; -webkit-background-clip: unset; background-clip: unset; color: rgba(255,255,255,0.85); }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-display);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(236,72,153,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--pink); }
.btn-small { padding: 11px 22px; font-size: 14px; }
.btn-large { padding: 19px 38px; font-size: 16px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.logo-text em { font-style: normal; font-size: 11px; color: var(--grey-dim); letter-spacing: 0.03em; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--grey); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); }

/* Hero */
.hero { padding-top: 88px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -260px; right: -200px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, rgba(236,72,153,0.07) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 88px;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  margin-bottom: 28px;
}
.hero-copy .lead { font-size: 18px; max-width: 480px; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 6 / 5;
  border: 1px solid var(--line);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.stat-bar { background: var(--black); }
.stat-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 64px;
  padding: 52px 32px;
  max-width: 880px;
  margin: 0 auto;
}
.stat-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.stat-number .big { line-height: 1; }
.stat-number .unit { line-height: 1; }
.stat-desc {
  display: flex;
  align-items: center;
  text-align: left;
  margin: 0;
}
.stat-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: left;
}
.stat-number .big { font-family: var(--font-display); font-weight: 700; font-size: 48px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-number .unit { font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; }
.stat-desc { font-size: 15px; color: rgba(255,255,255,0.7); max-width: 260px; }
.stat-list li {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}
.stat-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* Sections */
.section { padding: 88px 0; position: relative; }
.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 20px;
}
.section-sub { max-width: 560px; font-size: 17px; margin-bottom: 48px; }
.section-title.light, .lead.light { color: #fff; }

.three-ways { background: var(--white); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17,17,20,0.06); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 21px; margin-bottom: 14px; }
.card p { font-size: 15px; }

.what-we-do { background: var(--off-white); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-index {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: var(--gradient);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.feature-copy h3 { font-size: 25px; margin-bottom: 14px; }
.feature-copy p { font-size: 16px; max-width: 440px; }

.about { background: var(--black); }
.about .section-title { color: #fff; }
.about .lead { color: rgba(255,255,255,0.72); }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-list { display: flex; flex-direction: column; gap: 20px; }
.about-list li {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  padding: 22px 26px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.contact {
  background: var(--gradient);
  text-align: center;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-title { margin-left: auto; margin-right: auto; color: #fff; }
.contact .lead { max-width: 520px; margin: 0 auto 40px; color: rgba(255,255,255,0.9); }
.contact .btn-primary {
  background: var(--black);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.contact .btn-primary:hover { background: var(--charcoal); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner p { font-size: 14px; color: var(--grey-dim); }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a { font-size: 14px; color: var(--grey); }
.footer-inner nav a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .stat-bar-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px 28px; max-width: 100%; }
  .stat-desc { max-width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy { order: initial; }
  .about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .section { padding: 56px 0; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
