/* ═══════════════════════════════════════════
   SHARED DESIGN SYSTEM — Sanjeev Tewary
   Navy × Gold × Playfair Display
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --navy:       #08101f;
  --navy-mid:   #0f1a2e;
  --navy-light: #172340;
  --gold:       #c9a84c;
  --gold-light: #e8c87a;
  --gold-pale:  #f5e6c0;
  --gold-dim:   rgba(201,168,76,0.15);
  --white:      #f8f5ef;
  --off-white:  #ede9e0;
  --grey:       #7a8394;
  --grey-light: #b8bfcc;
  --accent:     #1b3560;
  --green:      #2d6a4f;
  --border:     rgba(201,168,76,0.12);
  --border-hover: rgba(201,168,76,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 5%;
  background: rgba(8,16,31,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, border-color 0.3s;
}
nav.scrolled { padding: 0.85rem 5%; border-color: rgba(201,168,76,0.22); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold); text-decoration: none; letter-spacing: 0.01em;
}
.nav-logo span { color: var(--grey-light); font-weight: 400; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--grey-light); text-decoration: none;
  position: relative; transition: color 0.2s; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 0.5rem 1.3rem !important; border-radius: 2px;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE HERO BANNER ── */
.page-hero {
  min-height: 52vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 8rem 5% 4rem;
  position: relative; overflow: hidden;
  background: var(--navy-mid);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(27,53,96,0.4) 0%, transparent 50%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 70px 70px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--grey); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.08; color: var(--white);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.2s both;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero-sub {
  font-size: 1.05rem; line-height: 1.8; color: var(--grey-light);
  max-width: 600px;
  animation: fadeUp 0.8s 0.4s both;
}
.page-hero-line {
  width: 60px; height: 2px; background: var(--gold);
  margin-bottom: 1.5rem;
  animation: expand 0.8s 0.1s both;
}
@keyframes expand { from { width: 0; } to { width: 60px; } }

/* ── SECTIONS ── */
section { padding: 6rem 5%; }
.container { max-width: 1180px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.85rem;
}
.section-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700;
  line-height: 1.15; color: var(--white); margin-bottom: 1.2rem;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-sub { font-size: 0.95rem; line-height: 1.85; color: var(--grey); max-width: 560px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; border-radius: 2px; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; transition: all 0.25s; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; }
.btn-gold { background: var(--gold); color: var(--navy); padding: 0.85rem 2rem; border: 2px solid var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); padding: 0.85rem 2rem; border: 1px solid rgba(255,255,255,0.18); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold); padding: 0; border: none; font-weight: 500; letter-spacing: 0.05em; }
.btn-ghost:hover { gap: 0.9rem; }

/* ── CARDS BASE ── */
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
  transition: all 0.3s;
}
.card:hover { border-color: var(--border-hover); background: rgba(201,168,76,0.04); transform: translateY(-4px); }

/* ── TICKER ── */
.ticker-wrap { background: var(--gold); padding: 0.7rem 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 35s linear infinite; }
.ticker-item { font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.14em; text-transform: uppercase; padding: 0 2.5rem; white-space: nowrap; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FOOTER ── */
.site-footer {
  background: #040c18;
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1180px; margin: 0 auto 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.3rem; }
.footer-brand p { font-size: 0.83rem; color: var(--grey); line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.78rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem; font-family: 'DM Mono', monospace;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.83rem; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(122,131,148,0.5); letter-spacing: 0.06em; }
.footer-badge {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(201,168,76,0.07); border: 1px solid var(--border);
  padding: 0.35rem 0.8rem; border-radius: 100px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── DIVIDER ── */
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--border-hover), transparent); margin: 0; }

/* ── PILL TAGS ── */
.tag { display: inline-block; font-size: 0.72rem; padding: 0.28rem 0.75rem; border-radius: 100px; background: rgba(201,168,76,0.08); border: 1px solid var(--border); color: var(--gold-light); letter-spacing: 0.04em; transition: all 0.2s; }
.tag:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { gap: 1.5rem; }
  section { padding: 5rem 5%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
