/* ==========================================================================
   jasonhaygood.com — premium dark-mode partner-sales hub
   Kore navy + gold. Inter (body) + Fraunces (italic accents).
   ========================================================================== */

:root {
  --navy-deep: #0a1830;
  --navy: #122340;
  --navy-light: #1c3253;
  --gold: #d4af37;
  --gold-bright: #f0c850;
  --white: #ffffff;
  --dim: #b8c4d6;
  --dim-strong: #8a9bb5;
  --line: rgba(212, 175, 55, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--gold); }
strong { font-weight: 600; color: var(--white); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ============================================================ NAV */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 48px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10,24,48,0.85) 0%, rgba(10,24,48,0) 100%);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep);
  font-weight: 800; font-size: 16px; letter-spacing: 0.5px;
  border-radius: 6px;
}
.brand-sub { color: var(--dim); font-size: 14px; letter-spacing: 0.3px; }
@media (max-width: 720px) {
  .topnav { padding: 14px 20px; }
  .brand-sub { display: none; }
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.85);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,24,48,0.55) 0%,
    rgba(10,24,48,0.35) 40%,
    rgba(10,24,48,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 880px;
  padding: 0 48px;
  margin: 0 auto;
}
.hero-accent {
  width: 64px; height: 4px;
  background: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--dim);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--dim-strong); font-size: 11px; letter-spacing: 3px;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-size: 15px; font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--gold); color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright); border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn-ghost {
  font-size: 14px; padding: 10px 18px;
  border-color: rgba(255,255,255,0.2);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold);
}

/* ============================================================ SECTIONS */
.section-eyebrow {
  color: var(--gold);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.section-lead {
  font-size: 18px;
  color: var(--dim);
  max-width: 700px;
  margin-bottom: 40px;
}

/* ============================================================ FEATURED VIDEO */
.featured-video {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-top: 1px solid var(--line);
}
.video-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--line);
}
.video-frame video { width: 100%; display: block; }
.video-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  font-size: 13px; color: var(--dim-strong);
  letter-spacing: 0.5px;
}
.video-meta a { color: var(--gold); }
.video-meta a:hover { color: var(--gold-bright); }

/* ============================================================ ABOUT */
.about {
  padding: 120px 0;
  background: var(--navy);
  border-top: 1px solid var(--line);
}
.two-col {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  border-radius: 8px;
  filter: contrast(1.05);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-text p { color: var(--dim); margin-bottom: 18px; font-size: 17px; }
.about-credentials {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.about-credentials li {
  padding: 10px 0;
  color: var(--dim);
  font-size: 15px;
}
.about-credentials strong { color: var(--gold); }
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 320px; }
}

/* ============================================================ PROOF / BADGES */
.proof {
  padding: 100px 0 120px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}
.badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.badge {
  background: var(--navy-light);
  padding: 32px 20px 24px;
  border-radius: 6px;
  border-top: 3px solid var(--gold);
  text-align: center;
}
.badge-name {
  font-size: 20px;
  font-style: italic;
  font-family: 'Fraunces', serif;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
}
.badge-fw {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 18px;
}
.badge-ribbon {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 2px;
}
.proof-tag {
  text-align: center;
  color: var(--dim);
  font-size: 16px;
  margin-top: 32px;
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.proof-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.counter-block { text-align: center; }
.counter-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
.counter-label {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--dim-strong);
}
@media (max-width: 720px) {
  .badges { grid-template-columns: repeat(2, 1fr); }
  .proof-counter { grid-template-columns: 1fr; gap: 32px; }
  .counter-num { font-size: 48px; }
}

/* ============================================================ CONNECT */
.connect {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 1px solid var(--line);
}
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.connect-card {
  background: var(--navy-light);
  padding: 36px 28px 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.25s ease;
}
.connect-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}
.connect-card.primary {
  background: linear-gradient(135deg, var(--gold) 0%, #c5a02f 100%);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.connect-card.primary:hover { box-shadow: 0 16px 60px rgba(212,175,55,0.4); }
.cc-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.7;
}
.cc-title {
  font-size: 22px; font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cc-sub {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 24px;
  line-height: 1.5;
}
.connect-card.primary .cc-sub { color: rgba(10,24,48,0.7); }
.cc-arrow {
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.connect-card:hover .cc-arrow { transform: translateX(6px); }
@media (max-width: 880px) {
  .connect-grid { grid-template-columns: 1fr; }
}

/* ============================================================ FOOTER */
.site-footer {
  padding: 60px 0 40px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-name { font-size: 18px; font-weight: 600; color: var(--white); }
.footer-sub { font-size: 14px; color: var(--dim); margin-top: 4px; }
.footer-links {
  display: flex; gap: 28px;
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--gold); }
.footer-meta {
  text-align: center;
  font-size: 12px;
  color: var(--dim-strong);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  letter-spacing: 1px;
}

/* ============================================================ HENRY CHAT BUBBLE */
.henry-bubble {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 200;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 18px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(212,175,55,0.45), 0 0 0 1px rgba(0,0,0,0.05);
  transition: all 0.22s ease;
}
.henry-bubble:hover {
  transform: translateY(-2px);
  background: var(--gold-bright);
  box-shadow: 0 16px 40px rgba(240,200,80,0.55);
}
.hb-icon {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--navy-deep);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 800; font-size: 14px;
}
.hb-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@media (max-width: 540px) {
  .henry-bubble { bottom: 18px; right: 18px; padding: 12px 18px 12px 14px; }
  .hb-label { display: none; }
}

.henry-panel {
  position: fixed; bottom: 96px; right: 28px;
  z-index: 199;
  width: min(380px, calc(100vw - 40px));
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}
.hp-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--navy-light);
  border-bottom: 1px solid var(--line);
}
.hp-title { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.5px; }
.hp-close {
  background: none; border: none;
  color: var(--dim);
  font-size: 26px; cursor: pointer;
  line-height: 1; padding: 0;
}
.hp-close:hover { color: var(--white); }
.hp-body { padding: 20px; }
.hp-body p { color: var(--dim); font-size: 14px; margin-bottom: 14px; }
.hp-note { color: var(--dim-strong); font-size: 13px; }
.hp-cta {
  display: block;
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}
.hp-cta:hover { background: var(--gold-bright); }
