:root {
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --slate: #1e3a5f;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-pale: #F8E9B0;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --text-muted: #94A3B8;
  --border: rgba(212, 175, 55, 0.35);
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-light); text-decoration: none; }
a:visited { color: var(--gold-light); }
a:hover { color: var(--gold); }

/* ── SCROLLBAR (muted — solid gold looked like a right-edge CTA strip) ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.22);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(212, 175, 55, 0.45); background-clip: padding-box; }
* { scrollbar-width: thin; scrollbar-color: rgba(212, 175, 55, 0.28) transparent; }

/* Top Luminous Edge */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 2000;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
}

/* ── NAV ── */
nav {
  position: fixed; top: 4px; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 1.75rem;
  padding: 0 5%; height: 90px;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
nav.scrolled { background: rgba(10,22,40,0.99); box-shadow: 0 10px 30px rgba(0,0,0,0.6); }

/* Top-Left Cluster */
.nav-left-cluster { display: flex; flex-direction: column; gap: 0.2rem; margin-right: auto; flex-shrink: 0; }
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: 0.055em;
  display: inline-flex; align-items: center; gap: 0.45rem; line-height: 1.12;
  position: relative; padding-bottom: 0.35rem;
}
.nav-logo-name span { color: var(--gold); font-weight: 900; letter-spacing: 0.08em; }
.nav-logo-name::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent 90%);
}

.nav-utilities { display: flex; gap: 1.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-top: 0.3rem; }
.nav-utilities a { color: var(--text-muted); text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-utilities a i { color: var(--gold); }
.nav-utilities a:hover { color: var(--white); text-shadow: 0 0 10px var(--gold); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin-left: auto; padding-right: 0; flex-shrink: 1; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

.mobile-menu {
  display: none; position: fixed; top: 90px; left: 0; right: 0;
  background: rgba(10,22,40,0.98); backdrop-filter: blur(12px);
  padding: 2rem 5%; z-index: 999; border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: var(--white); text-decoration: none; padding: 1rem 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.05em; }
.mobile-menu a:last-child { border-bottom: none; color: var(--gold); font-weight: 800; }

/* Flat header nav (about/experience/etc.): logo/first link left, remaining links as a tight right cluster — no space-between stretch */
nav.nav > a:first-child { margin-right: auto; }
nav.nav > a { color: var(--white); text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; transition: var(--transition); }
nav.nav > a:hover, nav.nav > a.active { color: var(--gold); }

@media(max-width:1200px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-name { font-size: 1.6rem; }
  nav.nav { flex-wrap: wrap; height: auto; min-height: 70px; padding-top: 1rem; padding-bottom: 1rem; gap: 1rem; }
  nav.nav > a:not(:first-child):not(.cta-call):not(.cta-linkedin):not(.btn-toggle) { display: none; }
}

/* ── SECTIONS ── */
section { padding: 7rem 5%; position: relative; }
.section-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.2; color: var(--white); margin-bottom: 1.5rem; }
.section-title span { color: var(--gold); }
.divider { width: 60px; height: 4px; background: var(--gold); margin-bottom: 2.5rem; }

/* ── BUTTON STYLES ── */
.btn-primary { 
  background: var(--gold); color: #040812; font-weight: 800; padding: 1rem 2.5rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; border: 1px solid var(--gold); cursor: pointer; box-shadow: 0 4px 25px rgba(212, 175, 55, 0.3); width: max-content;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 35px rgba(212, 175, 55, 0.5); border-color: var(--white); }

.btn-secondary { 
  background: rgba(212, 175, 55, 0.08); border: 2px solid var(--gold); color: var(--white); font-weight: 700; padding: 1rem 2.5rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; cursor: pointer; backdrop-filter: blur(8px); width: max-content;
}
.btn-secondary:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold); transform: translateY(-2px); border-color: var(--gold); }

.btn-group { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.15) 0%, transparent 65%), linear-gradient(135deg, #020408 0%, var(--navy) 100%);
  position: relative; overflow: hidden; padding-top: 140px; text-align: center;
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none; animation: gridPan 25s linear infinite;
}
@keyframes gridPan { 0% { transform: translateY(0); } 100% { transform: translateY(60px); } }

.hero-wrapper { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; }

.status-pill { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(10, 22, 40, 0.8); border: 1px solid var(--border); color: var(--gold); padding: 0.6rem 1.6rem; border-radius: 9999px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.5); backdrop-filter: blur(5px); }
.status-dot { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 15px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

.hero-headline { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; color: var(--white); letter-spacing: -0.02em; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 900px; }
.hero-sub strong { color: var(--gold-light); font-weight: 700; }

/* Justified and Even Tags */
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; align-items: stretch; max-width: 950px; margin: 0 auto 3rem; }
.hero-tag {
  flex: 1 1 auto; min-width: 180px; text-align: center;
  background: rgba(212,175,55,0.05); border: 1px solid var(--border);
  color: var(--white); font-size: 0.85rem; font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 6px; letter-spacing: 0.06em;
  text-transform: uppercase; transition: var(--transition);
}
.hero-tag:hover { color: var(--navy); background: var(--gold); border-color: var(--gold); box-shadow: 0 4px 15px rgba(212,175,55,0.3); }

/* Structured Metrics Bar */
.metric-bar { 
  display: flex; justify-content: space-around; align-items: center; 
  margin-top: 1.5rem; padding: 2rem 0; background: rgba(15, 28, 63, 0.5); 
  border-radius: 12px; backdrop-filter: blur(12px); border: 1px solid var(--border); width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  flex-wrap: wrap; gap: 0;
}
.metric-item { text-align: center; padding: 0 2rem; flex: 1; border-right: 1px solid var(--border); }
.metric-item:last-child { border-right: none; }
.metric-number { display: block; font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 0.8rem; text-shadow: 0 2px 10px rgba(212,175,55,0.3); }
.metric-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); font-weight: 700; }

/* ── NARRATIVE ("SILICON MEETS STEEL") ── */
#about { background: var(--navy); }
.narrative-container { max-width: 1200px; margin: 0 auto; }
.narrative-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; }
.narrative-text p { color: var(--text-muted); line-height: 1.9; font-size: 1.1rem; margin-bottom: 1.4rem; }
.narrative-text p strong { color: var(--white); }

.executive-quote {
  border-left: 4px solid var(--gold);
  padding: 1.8rem 2.5rem;
  margin: 2.5rem 0;
  background: rgba(212, 175, 55, 0.04);
  border-radius: 0 8px 8px 0;
}
.executive-quote p { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--white); font-style: italic; line-height: 1.6; margin-bottom: 1rem; }
.executive-quote footer { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--gold); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

.narrative-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-card {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-left: 4px solid var(--gold); padding: 2rem;
  border-radius: 0 8px 8px 0; transition: var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.sidebar-card:hover { background: rgba(212,175,55,0.06); transform: translateX(6px); }
.sidebar-card h4 { color: var(--gold); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.sidebar-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* Center Justified Connect With Me Module */
.center-card { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; padding: 2.5rem; }
.center-card h4 { text-align: center; width: 100%; margin-bottom: 1.5rem; }
.center-card p { text-align: center; width: 100%; font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.5rem; color: var(--white); }
.center-card .btn-primary { width: 100%; max-width: 250px; justify-content: center; }

@media(max-width:1024px) { .narrative-grid { grid-template-columns: 1fr; gap: 4rem; } }

/* ── EXPERTISE (Perfect 3-in-3 Grid) ── */
#expertise { background: var(--navy-mid); }
.expertise-container { max-width: 1200px; margin: 0 auto; }

.expertise-grid { 
  display: grid; gap: 2rem; margin-top: 1rem; 
  grid-template-columns: repeat(3, 1fr); 
}

.expertise-card {
  background: var(--navy); border: 1px solid var(--border);
  padding: 2.5rem 2rem; border-radius: 8px; transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.expertise-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: var(--gold); }
.expertise-icon { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--gold); }
.expertise-card h3 { color: var(--white); font-size: 1.25rem; font-weight: 800; margin-bottom: 1.2rem; line-height: 1.4; }
.expertise-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; text-align: justify; flex-grow: 1; margin: 0; }

@media(max-width: 991px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WORK & IMPACT ── */
#work { background: var(--navy); }
.work-container { max-width: 1000px; margin: 0 auto; }
.work-timeline { position: relative; padding-left: 2.5rem; margin-top: 2rem; }
.work-timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), transparent);
}
.work-item { position: relative; margin-bottom: 4.5rem; }
.work-item::before {
  content: ''; position: absolute; left: -2.90rem; top: 0.5rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,0.1); transition: var(--transition);
}
.work-item:hover::before { background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.work-period { font-size: 0.85rem; color: var(--gold); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; display: inline-block; }
.work-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.4rem; font-family: 'Playfair Display', serif; }
.work-company { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 600; }
.work-narrative { color: var(--white); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.work-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.work-bullets li { display: flex; align-items: flex-start; gap: 0.8rem; color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.work-bullets li::before { content: '▸'; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; font-size: 0.9rem; }
.work-bullets li strong { color: var(--white); }

/* ── CASE STUDY ── */
#casestudy { background: var(--navy); }
.cs-container { max-width: 1200px; margin: 0 auto; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-top: 2rem; }
.cs-label { font-size: 0.75rem; color: var(--gold); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.cs-challenge h3, .cs-result h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--white); font-weight: 700; margin-bottom: 1.2rem; }
.cs-challenge p, .cs-result p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.cs-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.cs-step {
  background: var(--navy-mid); border: 1px solid var(--border);
  padding: 1.2rem 1.5rem; border-radius: 8px; display: flex; align-items: flex-start; gap: 1.2rem;
  transition: var(--transition);
}
.cs-step:hover { border-color: var(--gold); transform: translateX(4px); }
.cs-step-num { color: var(--gold); font-weight: 900; font-size: 1.2rem; flex-shrink: 0; font-family: 'Playfair Display', serif; }
.cs-step-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.cs-step-text strong { color: var(--white); display: block; margin-bottom: 0.3rem; font-size: 1rem; }

.cs-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cs-result-card {
  background: var(--navy-mid); border: 1px solid var(--border);
  padding: 1.8rem; border-radius: 8px; text-align: center;
}
.cs-result-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 0.4rem; }
.cs-result-label { font-size: 0.85rem; color: var(--white); font-weight: 600; letter-spacing: 0.04em; }
@media(max-width:1024px) { .cs-grid { grid-template-columns: 1fr; gap: 4rem; } }

/* ── THOUGHT LEADERSHIP ── */
#thinking { background: var(--navy-mid); }
.tl-container { max-width: 1200px; margin: 0 auto; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 2rem; }
.tl-card {
  background: var(--navy); border: 1px solid var(--border);
  padding: 2.5rem; border-radius: 8px; transition: var(--transition); cursor: pointer;
  display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tl-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.tl-type { font-size: 0.75rem; color: var(--gold); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.tl-card h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.tl-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.8rem; flex-grow: 1; text-align: justify; }
.tl-link { color: var(--gold); font-size: 0.9rem; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 0.5rem; }
.tl-link:hover { color: var(--white); }

/* ── SKILLS TAXONOMY ── */
#skills { background: var(--navy); }
.skills-container { max-width: 1200px; margin: 0 auto; }
.skills-outer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 3rem; margin-top: 2rem; }
.skill-group h4 { color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.skill-list li { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.skill-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── CONTACT ── */
#contact { background: linear-gradient(to bottom, var(--navy-mid), var(--navy)); border-top: 1px solid var(--border); }
.contact-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { margin-bottom: 1.5rem; }
.contact-inner > p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 3rem; }

.contact-form { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: 12px; padding: 3rem; text-align: left; backdrop-filter: blur(10px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.contact-form h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; margin-bottom: 2rem; font-family: 'Playfair Display', serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { color: var(--text-muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--navy-mid); border: 1px solid var(--border);
  color: var(--white); padding: 1rem 1.2rem; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 1rem; outline: none;
  transition: var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 1rem; cursor: pointer; border: none; justify-content: center; }

@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
footer {
  background: var(--navy); border-top: 1px solid var(--border);
  padding: 3rem 5%; text-align: center;
}
footer p { color: var(--text-muted); font-size: 0.9rem; }
footer strong { color: var(--gold); }

/* ── FADE IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }



/* ── SUB-NAV + RESUME (dark navy + muted gold) ── */
.sub-nav {
  position: fixed; top: 4px; left: 0; right: 0; z-index: 1000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
  padding: 1rem 5%; min-height: 64px;
  background: rgba(10,22,40,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.sub-nav a {
  color: var(--text-muted); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.sub-nav a:hover, .sub-nav a.active { color: var(--gold); }
.page-container { padding-top: 100px; }
.resume-container {
  max-width: 860px; margin: 0 auto; padding: 2rem 5% 4rem;
}
.resume-container h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.6rem;
  position: relative; display: inline-block; padding-bottom: 0.45rem;
}
.resume-container h1::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.resume-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; }
.resume-meta a { color: var(--gold-light); }
.section-tag {
  display: block; color: var(--gold); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem;
}
.resume-container .section { margin-bottom: 2.5rem; }
.resume-container .section p { color: var(--text-muted); margin-bottom: 0.75rem; }
.resume-container .timeline-item {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: 8px;
  padding: 1.25rem 1.4rem; margin-bottom: 1rem;
}
.resume-container .timeline-item h3 {
  font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.35rem;
}
.resume-container .timeline-item > p { color: var(--gold-light); font-size: 0.9rem; margin-bottom: 0.75rem; }
.resume-container ul { padding-left: 1.1rem; color: var(--text-muted); }
.resume-container li { margin-bottom: 0.4rem; }
.resume-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
.resume-actions a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(212,175,55,0.1); border: 1px solid var(--border);
  color: var(--gold-light); padding: 0.65rem 1.1rem; border-radius: 6px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
}
.resume-actions a:hover { border-color: var(--gold); color: var(--white); background: rgba(212,175,55,0.18); }
.resume-actions a.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #070D1D; border-color: var(--gold);
}
.global-footer {
  background: var(--navy); border-top: 1px solid var(--border);
  padding: 2.5rem 5%; margin-top: 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { margin-bottom: 1rem; }
.footer-name { font-family: 'Playfair Display', serif; color: var(--white); font-weight: 700; margin: 0 0.5rem; }
.footer-title { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1rem 0; }
.footer-links a { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; }
.footer-contact p { color: var(--text-muted); font-size: 0.9rem; margin: 0.25rem 0; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; margin-top: 1.5rem; opacity: 0.8; }
