/* =========================================================================
   JIMMYBEING.COM — STYLES
   Palette:
     --ink        deep forest green (primary/dark)
     --sand       warm off-white background
     --gold       accent (CTAs, highlights)
     --text       body text
   ========================================================================= */

:root {
  /* Palette pulled from the Jimmy Being logo mark: wine/maroon ring +
     signature, sage-teal top band, warm gold bottom band, white ground. */
  --ink: #5c2732;       /* wine — headings, primary buttons, timeline dots */
  --ink-2: #3b1b22;     /* deep wine — dark section backgrounds, hover */
  --wine-line: #7a3441; /* logo ring color — borders, subtle accents */
  --sage: #7fada3;      /* logo top band — secondary accent */
  --sage-tint: #eaf2f0; /* soft sage background for neutral badges */
  --sand: #ffffff;
  --sand-2: #f2f5f3;
  --gold: #efc868;      /* logo bottom band — venture badge, CTA highlight */
  --gold-2: #b8862a;    /* deeper gold for text on white (eyebrow, dates) */
  --text: #241f1a;
  --text-soft: #5b564e;
  --line: #e6dcd9;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(92, 39, 50, 0.1);
  --font-display: "Fraunces", Georgia, 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(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.15;
  font-weight: 600;
}

h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

section { padding: 96px 0; }
section:nth-of-type(even) { background: var(--white); }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-soft { background: var(--sage-tint); color: var(--ink); }
.badge-venture { background: var(--gold); color: var(--ink-2); margin-left: 10px; vertical-align: middle; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.logo-link { display: flex; align-items: center; }
.logo-link svg { display: block; width: 44px; height: 44px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--text); }
.main-nav a:hover { color: var(--ink); }
.lang-switch { display: flex; gap: 6px; background: var(--sand-2); padding: 4px; border-radius: 999px; }
.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-soft);
}
.lang-btn.active { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- HERO ---------- */
.hero { padding: 72px 0 100px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(44px, 7vw, 68px); }
.hero-subtitle { font-size: 18px; max-width: 480px; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-video { display: flex; justify-content: center; }
.video-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.greeting-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  z-index: 0;
}
.video-placeholder.no-video .greeting-video { display: none; }
.video-placeholder .video-ring,
.video-placeholder .video-label,
.video-placeholder .video-comingsoon,
.video-placeholder .badge-soft {
  position: relative;
  z-index: 1;
}
.video-placeholder.has-video .video-comingsoon { display: none; }
.video-placeholder.is-playing .video-ring,
.video-placeholder.is-playing .video-label,
.video-placeholder.is-playing .video-comingsoon,
.video-placeholder.is-playing .badge-soft {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.video-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(239, 200, 104, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 200, 104, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(239, 200, 104, 0); }
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-2);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-label { color: var(--white); font-weight: 600; margin: 0; font-size: 15px; }
.video-comingsoon { color: rgba(255, 255, 255, 0.75); font-size: 12.5px; margin: 0 0 6px; max-width: 200px; }

/* ---------- ABOUT ---------- */
.about-inner { max-width: 720px; }
.about p { font-size: 17px; }

/* ---------- EXPERIENCE / TIMELINE ---------- */
.section-intro { max-width: 640px; font-size: 16.5px; }
.timeline { position: relative; margin-top: 48px; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 44px; padding-left: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--sand);
}
.timeline-item.is-venture .timeline-dot { background: var(--gold); }
.timeline-period { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold-2); text-transform: uppercase; }
.timeline-head { display: flex; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.timeline-head h3 { margin: 0; }
.timeline-role { font-weight: 600; color: var(--text); margin: 4px 0 6px; }
.timeline-tag { display: inline-block; font-size: 12.5px; color: var(--text-soft); background: var(--sand-2); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.timeline-content ul { margin: 6px 0 14px; }
.timeline-content li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-soft); margin-bottom: 6px; }
.timeline-content li::before { content: "—"; position: absolute; left: 0; color: var(--gold-2); }
.timeline-links { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.timeline-links-label { flex-basis: 100%; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-soft); margin-bottom: 2px; }
.timeline-link { font-size: 13.5px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }
.timeline-link.link-placeholder { color: var(--text-soft); border-bottom: 1.5px dashed var(--line); }

/* ---------- EDUCATION ---------- */
.education-list { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.education-item { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.education-item:last-child { border-bottom: none; }
.education-period { font-size: 13px; font-weight: 700; color: var(--gold-2); letter-spacing: 0.03em; }
.education-item h3 { margin-bottom: 4px; }
.education-item p { margin: 0; font-size: 15px; }

/* ---------- SKILLS ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.skills-card { background: var(--sand-2); border-radius: var(--radius); padding: 26px; }
.skills-card h4 { margin: 0 0 10px; font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.skills-card p { margin: 0; font-size: 15px; color: var(--text-soft); }

/* ---------- PERSONAL ---------- */
.personal-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.personal p { font-size: 16.5px; max-width: 420px; }
.personal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.personal-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text-soft); }
.personal-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-2); font-size: 12px; top: 3px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--ink); }
.contact h2, .contact h3 { color: var(--white); }
.contact p { color: rgba(255,255,255,0.72); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.contact .btn-primary { background: var(--gold); color: var(--ink-2); }
.contact .btn-primary:hover { background: #e3ba52; }
.contact .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.contact .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase;
}
.agent-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.agent-card .badge-soft { background: rgba(239,200,104,0.18); color: var(--gold); width: fit-content; margin-bottom: 16px; }
.agent-widget-wrap { margin-top: 18px; min-height: 64px; }
.agent-widget-wrap elevenlabs-convai { width: 100%; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink-2); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-inner p { color: rgba(255,255,255,0.6); font-size: 13.5px; margin: 0; }
.footer-rights { color: rgba(255,255,255,0.4) !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-cta-row { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--sand);
    flex-direction: column; padding: 12px 24px; gap: 16px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .personal-inner { grid-template-columns: 1fr; }
  .personal-list { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .education-item { grid-template-columns: 1fr; gap: 6px; }
}
