/* ============================================================
   ASHISH GUPTA PORTFOLIO — SHARED STYLESHEET
   Version 2.0 · 2026
   ============================================================ */

:root {
  --ink: #0A0A0A;
  --ivory: #F7F4EF;
  --gold: #C9972B;
  --gold-light: #E8C96A;
  --navy: #0B1F3A;
  --mid: #4A4A4A;
  --line: rgba(201,151,43,0.25);
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ivory); color: var(--ink); overflow-x: hidden; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(247,244,239,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 9px 22px; border-radius: 2px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* ── PAGE HEADER (non-hero pages) ── */
.page-header {
  background: var(--navy); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,151,43,0.05) 80px);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.page-header-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-light); }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900;
  color: #fff; line-height: 1.05; margin-bottom: 20px;
}
.page-header h1 em { color: var(--gold); font-style: italic; }
.page-header p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.75; max-width: 560px; }

/* ── SECTIONS ── */
section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--navy); line-height: 1.1; margin-bottom: 20px;
}
.section-lead { font-size: 1rem; color: var(--mid); line-height: 1.8; max-width: 620px; margin-bottom: 8px; }

/* Dark section overrides */
.dark-section { background: var(--navy); }
.dark-section .section-eyebrow { color: var(--gold-light); }
.dark-section .section-eyebrow::before { background: var(--gold-light); }
.dark-section .section-title { color: #fff; }
.dark-section .section-lead { color: rgba(255,255,255,0.6); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--navy); color: #fff;
  padding: 13px 30px; border-radius: 2px;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold); }
.btn-outline {
  border: 1.5px solid var(--navy); color: var(--navy);
  padding: 13px 30px; border-radius: 2px;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold {
  background: var(--gold); color: var(--navy);
  padding: 13px 30px; border-radius: 2px;
  font-size: 0.83rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s; display: inline-block;
}
.btn-gold:hover { opacity: 0.88; }

/* ── TICKER ── */
.ticker-wrap { background: var(--navy); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 36s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); padding: 0 40px;
}
.ticker-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── CARDS ── */
.card {
  background: #fff; border-radius: 4px;
  border: 1px solid rgba(11,31,58,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: 0 12px 40px rgba(11,31,58,0.1); transform: translateY(-3px); }
.card-top-bar::before {
  content: ''; display: block; height: 3px;
  background: var(--gold); border-radius: 4px 4px 0 0;
}

/* ── HIGHLIGHT PILL ── */
.highlight-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; background: var(--ivory); border-radius: 3px;
  border-left: 3px solid var(--gold); font-size: 0.82rem; font-weight: 500; color: var(--navy);
}
.highlight-pill::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── TIMELINE ── */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(201,151,43,0.3); }
.timeline-item { padding-left: 40px; padding-bottom: 52px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--navy);
  box-shadow: 0 0 0 3px rgba(201,151,43,0.2);
}
.timeline-year { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.timeline-role { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.timeline-org { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.timeline-body { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.timeline-wins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.timeline-win {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(201,151,43,0.12); border: 1px solid rgba(201,151,43,0.25);
  color: var(--gold-light); padding: 5px 11px; border-radius: 2px;
}
.timeline-promoted {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: rgba(201,151,43,0.15); border-left: 3px solid var(--gold);
  padding: 8px 14px; border-radius: 0 3px 3px 0;
  font-size: 0.76rem; font-weight: 600; color: var(--gold-light);
}

/* ── TESTIMONIAL ── */
.testimonial-card { background: #fff; padding: 32px 26px; border-radius: 3px; transition: box-shadow 0.3s; }
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(11,31,58,0.08); }
.testimonial-quote { font-size: 3rem; color: var(--gold); font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 14px; opacity: 0.5; }
.testimonial-body { font-size: 0.9rem; color: var(--mid); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-size: 0.83rem; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 0.73rem; color: var(--mid); margin-top: 3px; }
.testimonial-placeholder {
  background: var(--ivory); border: 2px dashed rgba(201,151,43,0.3);
  border-radius: 3px; padding: 36px 28px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; min-height: 200px;
}
.testimonial-placeholder-icon { font-size: 2rem; opacity: 0.4; }
.testimonial-placeholder-text { font-size: 0.82rem; color: var(--mid); opacity: 0.6; line-height: 1.6; }

/* ── FOOTER ── */
footer { background: #060f1e; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 0.74rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 34px; height: 34px; background: rgba(255,255,255,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.95rem; transition: background 0.2s;
}
.social-btn:hover { background: var(--gold); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }

/* ── FORM ── */
.form-wrap { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,151,43,0.2); border-radius: 4px; padding: 48px 40px; }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 28px; }
.form-row { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.form-input { width: 100%; padding: 13px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: rgba(255,255,255,0.3); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; background: var(--gold); color: var(--navy); padding: 16px; border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.88; }

/* ── EVENT CARDS ── */
.event-card { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid rgba(11,31,58,0.08); transition: box-shadow 0.3s, transform 0.3s; }
.event-card:hover { box-shadow: 0 12px 40px rgba(11,31,58,0.1); transform: translateY(-3px); }
.event-card-top { padding: 24px 24px 0; }
.event-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.event-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.event-tag.keynote { background: rgba(201,151,43,0.12); color: var(--gold); border: 1px solid rgba(201,151,43,0.25); }
.event-tag.school { background: rgba(11,31,58,0.06); color: var(--navy); border: 1px solid rgba(11,31,58,0.15); }
.event-tag.institutional { background: rgba(39,174,96,0.1); color: #1a7a3f; border: 1px solid rgba(39,174,96,0.2); }
.event-tag.meet { background: rgba(142,68,173,0.1); color: #6c3483; border: 1px solid rgba(142,68,173,0.2); }
.event-tag.award { background: rgba(201,151,43,0.2); color: #7a5000; border: 1px solid rgba(201,151,43,0.4); }
.event-year { font-size: 0.68rem; font-weight: 600; color: var(--mid); }
.event-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.event-venue { font-size: 0.8rem; color: var(--mid); margin-bottom: 12px; }
.event-desc { font-size: 0.82rem; color: var(--mid); line-height: 1.65; padding: 0 24px 24px; }

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 2px; border: 1.5px solid rgba(11,31,58,0.15);
  background: #fff; color: var(--mid); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }


/* ── MOBILE NAV ── */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; background:none; border:none; }
.hamburger span { width:24px; height:2px; background:var(--navy); border-radius:2px; transition:all 0.3s; display:block; }
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }
.mobile-menu { display:none; position:fixed; top:60px; left:0; right:0; background:rgba(247,244,239,0.98); backdrop-filter:blur(12px); border-bottom:2px solid var(--gold); z-index:99; padding:20px 24px; flex-direction:column; gap:0; }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:0.9rem; font-weight:500; color:var(--navy); text-decoration:none; padding:14px 0; border-bottom:1px solid rgba(11,31,58,0.07); letter-spacing:0.04em; }
.mobile-menu a:last-child { border-bottom:none; background:var(--navy); color:#fff; text-align:center; padding:14px; margin-top:8px; border-radius:2px; }
@media (max-width:960px) {
  .nav-links { display:none !important; }
  .hamburger { display:flex; }
  .hero-left { padding:80px 24px 48px; }
  .hero-right { display:none; }
  .grid-2,.grid-3,.grid-4,.grid-5-7,.grid-7-5 { grid-template-columns:1fr; gap:28px; }
  .container { padding:0 20px; }
  section { padding:56px 0; }
  .page-header { padding:110px 0 52px; }
  .footer-inner { flex-direction:column; gap:16px; text-align:center; }
  .footer-nav { justify-content:center; flex-wrap:wrap; gap:12px; }
  .section-title { font-size:clamp(1.6rem,6vw,2.4rem); }
  .quick-nav-grid { grid-template-columns:1fr 1fr; }
  .impact-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:480px) {
  .quick-nav-grid,.impact-grid { grid-template-columns:1fr; }
  .hero-stats { gap:20px; }
  .stat-num { font-size:1.8rem; }
  nav { padding:12px 20px; }
}
