/* ── CANVAS ── */
#code-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── NAV OVERRIDES (base nav defined in khojant.css) ── */
.nav-logo img { height: 42px; }
.nav-links { align-items: center; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links a.active { color: #FFB800 !important; font-weight: 700; }

/* ── SECTIONS ── */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 50px;
}
.section-heading {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 50px; white-space: nowrap;
}
.section-heading h2 { font-size: 1.7rem; color: var(--lightest-slate); font-weight: 600; }
.section-heading .num { font-family: var(--font-mono); color: var(--green); font-size: 1.1rem; }
.section-heading::after {
  content: ''; display: block; height: 1px; width: 100%;
  background: rgba(56,189,248,0.15); max-width: 400px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
  padding-top: 0;
}
.hero-text { display: flex; flex-direction: column; }
.hero-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  max-height: 340px;
  box-shadow: 0 0 0 2px rgba(100,255,218,0.3), 0 20px 60px rgba(0,0,0,0.5);
}
.hero-intro { font-family: var(--font-mono); color: var(--green); font-size: 1rem; margin-bottom: 20px; }
#hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--lightest-slate); font-weight: 700; line-height: 1.1; }
#hero h2 { font-size: clamp(1.2rem, 3vw, 2rem); color: var(--slate); font-weight: 600; margin-top: 10px; line-height: 1.2; }
#hero p { margin-top: 24px; max-width: 540px; color: var(--slate); font-size: 1.05rem; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 50px; }

/* ── ROAD PHOTO ── */
.road-photo-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px 80px;
}
.road-photo-wrap img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.road-photo-caption {
  text-align: center;
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.78rem;
  margin-top: 12px;
  opacity: 0.8;
}

/* ── BO AVATAR ── */
.bo-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  box-shadow: 0 0 0 2px rgba(100,255,218,0.4);
}
.hero-cta {
  display: inline-block; padding: 16px 28px;
  border: 1px solid var(--green); color: var(--green);
  text-decoration: none; font-family: var(--font-mono); font-size: 0.9rem;
  border-radius: 4px; transition: background 0.2s;
}
.hero-cta:hover { background: var(--green-tint); }
.hero-cta-ghost {
  display: inline-block; padding: 16px 28px;
  border: 1px solid rgba(56,189,248,0.3); color: var(--light-slate);
  text-decoration: none; font-family: var(--font-mono); font-size: 0.9rem;
  border-radius: 4px; transition: background 0.2s, border-color 0.2s;
}
.hero-cta-ghost:hover { background: var(--green-tint); border-color: var(--green); color: var(--green); }

/* ── ABOUT GRID ── */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: start; }
.about-text p { margin-bottom: 16px; color: var(--slate); }
.about-text a { color: var(--green); text-decoration: none; }
.about-text a:hover { text-decoration: underline; }

/* ── SIDEBAR CARDS ── */
.about-card {
  background: var(--navy-light);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 8px; padding: 28px; margin-bottom: 20px;
}
.about-card:last-child { margin-bottom: 0; }
.about-card h3 {
  font-family: var(--font-mono); color: var(--green);
  font-size: 0.85rem; margin-bottom: 16px;
  letter-spacing: 1px; text-transform: uppercase;
}
.about-card ul { list-style: none; }
.about-card ul li {
  color: var(--light-slate); padding: 5px 0;
  font-family: var(--font-mono); font-size: 0.88rem;
}
.about-card ul li::before { content: '▸ '; color: var(--green); }

/* ── HIGHLIGHT BLOCKS ── */
.highlight-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin-top: 10px;
}
.highlight-card {
  background: var(--navy-light);
  border: 1px solid rgba(56,189,248,0.1);
  border-radius: 6px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s;
}
.highlight-card:hover { transform: translateY(-4px); }
.highlight-card .card-icon { font-size: 2rem; }
.highlight-card h3 { color: var(--lightest-slate); font-size: 1rem; font-weight: 600; }
.highlight-card p { font-size: 0.88rem; color: var(--slate); flex: 1; }
.highlight-card a { color: var(--green); text-decoration: none; font-family: var(--font-mono); font-size: 0.78rem; }
.highlight-card a:hover { text-decoration: underline; }

/* ── CONTACT ── */
#contact { text-align: center; background-color: var(--navy) !important;}
#contact .section-heading { justify-content: center; }
#contact .section-heading::after { display: none; }
#contact h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); 
  color: var(--lightest-slate); 
  margin: 20px 0 16px; }
#contact p { max-width: 500px; margin: 0 auto 40px; }
.contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border: 1px solid var(--green);
  color: var(--green); text-decoration: none;
  font-family: var(--font-mono); font-size: 0.85rem;
  border-radius: 4px; transition: background 0.2s;
}
.contact-link:hover { background: var(--green-tint); }
.contact-link.primary { background: var(--green-tint); }

/* ── FOOTER ── */
footer {
  background: #080810; border-top: 1px solid #1a2050;
  padding: 40px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; position: relative; z-index: 2;
}
.footer-logo img { height: 34px; width: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--slate); text-decoration: none; transition: color 0.2s; font-family: var(--font-mono); }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 11px; color: var(--slate); font-family: var(--font-mono); opacity: 0.6; width: 100%; text-align: center; padding-top: 16px; border-top: 1px solid rgba(56,189,248,0.08); margin-top: 4px; }
.footer-contact { width: 100%; font-size: 11px; color: var(--slate); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.footer-contact a { color: var(--slate); text-decoration: none; }
.footer-contact a:hover { color: var(--green); }
.fc-sep { opacity: 0.35; }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none; z-index: 101;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #FFFFFF; border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── LIGHT MODE — component overrides ── */
/* Variables, body & ticker-wrap handled by jeff-shared.css */
@media (prefers-color-scheme: light) {
  nav { background: rgba(239,243,251,0.96) !important; }
  .about-card { background: #E8EEF8 !important; border-color: rgba(0,96,204,0.18) !important; }
  .highlight-card { background: #FFFFFF !important; border-color: #C8D3E6 !important; }
  footer { background: #E0E7F4 !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(0,0,0,0.97); border-bottom: 1px solid #1a2050;
    padding: 20px 5vw; gap: 0; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 14px; border-bottom: 1px solid rgba(56,189,248,0.08); }
  .nav-links li:last-child a { border-bottom: none; }
  section { padding: 80px 24px; }
  #hero { grid-template-columns: 1fr !important; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: 220px; object-position: center top; }
  .road-photo-wrap { padding: 0 24px 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) and (prefers-color-scheme: light) {
  .nav-links { background: rgba(239,243,251,0.99) !important; }
}
