/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* ============================================================
   Palette
     Navy         #0A1F44  primary backgrounds & authority
     Navy Dark    #071630  deep panel, hero gradient
     Deep Red     #8B1E2D  accents, buttons, highlights
     Red Dark     #6e1724  hover states
     White        #FFFFFF  main background
     Gray Light   #F7FAFC  alternate section backgrounds
     Gray Mid     #EDF2F7  inner card backgrounds
     Border       #E2E8F0  structural dividers
     Text         #4A5568  body copy
     Text Dark    #1A202C  heavy emphasis
     Gold         #C9A646  premium accent / decorative
   ─────────────────────────────────────────────────────────
   Type Scale
     Headings  → Playfair Display, Georgia, serif
     Body      → Inter, system-ui, sans-serif
   ============================================================ */

/* ── Fonts ────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap");

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --navy: #0a1f44;
  --navy-dark: #071630;
  --navy-mid: #0d2654;
  --red: #8b1e2d;
  --red-dark: #6e1724;
  --white: #ffffff;
  --gray-light: #f7fafc;
  --gray-mid: #edf2f7;
  --border: #e2e8f0;
  --border-dark: #cbd5e0;
  --text: #4a5568;
  --text-dark: #1a202c;
  --text-light: #718096;
  --gold: #c9a646;
  --gold-light: rgba(201, 166, 70, 0.15);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 31, 68, 0.06);
  --shadow-sm: 0 1px 6px rgba(10, 31, 68, 0.09);
  --shadow-md: 0 4px 20px rgba(10, 31, 68, 0.11);
  --shadow-lg: 0 10px 40px rgba(10, 31, 68, 0.14);

  /* Spacing (8-point grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;
  --space-10: 120px;

  /* Timing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.28s var(--ease);
  --transition-slow: 0.5s var(--ease);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: var(--header-height, 64px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section-padding {
  padding: var(--space-9) 0;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside a revealed section */
.reveal.visible .focus-card:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal.visible .focus-card:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal.visible .focus-card:nth-child(3) {
  transition-delay: 0.15s;
}
.reveal.visible .focus-card:nth-child(4) {
  transition-delay: 0.2s;
}
.reveal.visible .focus-card:nth-child(5) {
  transition-delay: 0.25s;
}
.reveal.visible .achievement-card:nth-child(1) {
  transition-delay: 0.06s;
}
.reveal.visible .achievement-card:nth-child(2) {
  transition-delay: 0.14s;
}
.reveal.visible .achievement-card:nth-child(3) {
  transition-delay: 0.22s;
}

/* ── Section Anatomy ──────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-6);
}

.section-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  margin-top: 14px;
  width: 40px;
  height: 3px;
  background-color: var(--red);
}

/* Section-level border separators */
.focus-section,
.statement-section,
.achievements-section,
.projects-section,
.experience-section {
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HEADER
   ============================================================ */
.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.site-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu li a {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-menu li a:hover {
  color: var(--navy);
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-menu li a.active-link,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current-menu-ancestor > a {
  color: var(--navy);
  font-weight: 600;
}

.nav-menu li a.active-link::after,
.nav-menu li.current-menu-item > a::after,
.nav-menu li.current_page_item > a::after,
.nav-menu li.current-menu-ancestor > a::after {
  width: 100%;
  background: var(--red);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 24px;
    border-top: 2px solid var(--red);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 4px;
  }

  .nav-menu li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }
}

/* ============================================================
   HERO — premium split authority layout
   ============================================================ */
.hero-split {
  display: flex;
  width: 100%;
  max-height: calc(100vh - 50px);
}

/* LEFT: Photo */
.hero-image-side {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.92) contrast(1.05) saturate(0.95);
  transition: transform 8s ease;
}

.hero-image-side:hover img {
  transform: scale(1.025);
}

/* RIGHT: Navy authority panel */
.hero-content-side {
  flex: 1;
  background-color: var(--navy);
  background-image: linear-gradient(
    155deg,
    var(--navy-mid) 0%,
    var(--navy) 50%,
    var(--navy-dark) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 72px;
  position: relative;
  overflow: hidden;
}

/* Gold vertical bar */
.hero-content-side::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 0;
  width: 4px;
  height: 88px;
  background: var(--gold);
}

/* Decorative corner geometry */
/* .hero-content-side::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 200px;
  height: 200px;
  border-top: 1px solid rgba(201, 166, 70, 0.14);
  border-left: 1px solid rgba(201, 166, 70, 0.14);
  pointer-events: none;
} */

/* Faint background seal / watermark */
.hero-content-side .hero-watermark {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-content-inner {
  max-width: 440px;
  position: relative;
  z-index: 1;
}

/* Tagline badge */
.hero-badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 166, 70, 0.4);
  padding: 6px 14px;
  margin-bottom: 28px;
  background: rgba(201, 166, 70, 0.06);
}

/* Main heading */
.hero-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* CTA group */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary CTA — solid deep red */
.hero-button {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.hero-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 8px 28px rgba(139, 30, 45, 0.42);
  transform: translateY(-1px);
  color: var(--white);
}

/* Secondary CTA — ghost/outline */
.hero-button-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.hero-button-secondary:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 992px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-image-side {
    flex: 0 0 auto;
    height: 380px;
    width: 100%;
  }

  .hero-content-side {
    padding: 64px 36px;
  }

  .hero-content-side::before {
    top: 0;
    left: 48px;
    width: 64px;
    height: 4px;
  }

  .hero-heading {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
  }
}

@media (max-width: 576px) {
  .hero-image-side {
    height: 280px;
  }
  .hero-content-side {
    padding: 48px 24px;
  }
  .hero-heading {
    font-size: 2.4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-button,
  .hero-button-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   CREDENTIALS STRIP — authority indicators bar
   ============================================================ */
.credentials-strip {
  /*
   * Two-tone background mirrors the hero's 50 / 50 split exactly.
   * Left  50% = navy-dark (same as .hero-image-side background)
   * Right 50% = navy      (same as .hero-content-side background)
   */
  background: linear-gradient(
    to right,
    var(--navy-dark) 0%,
    var(--navy-dark) 50%,
    var(--navy) 50%,
    var(--navy) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.credentials-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.credential-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: background-color var(--transition);
}

.credential-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.credential-number {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.credential-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.credential-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
}

@media (max-width: 768px) {
  .credentials-grid {
    flex-wrap: wrap;
  }
  .credential-item {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 16px;
  }
  .credential-item:nth-child(odd) {
    border-right: none;
  }
  .credential-divider {
    display: none;
  }
}

/* ============================================================
   ABOUT / FOCUS SECTION
   ============================================================ */
.focus-section {
  background-color: var(--gray-light);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Premium focus card */
.focus-card {
  background: var(--white);
  padding: 32px 26px 26px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-top-color var(--transition);
}

/* Subtle corner accent */
.focus-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transition: border-color var(--transition);
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--red);
}

.focus-card:hover::after {
  border-color: var(--red);
}

.focus-card-icon {
  margin-bottom: 16px;
}

.focus-icon-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.focus-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.focus-card p {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

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

@media (max-width: 576px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STATEMENT OF PURPOSE — full-width quote block
   ============================================================ */
.statement-section {
  background: var(--navy);
  background-image: linear-gradient(
    135deg,
    var(--navy-mid) 0%,
    var(--navy) 60%,
    var(--navy-dark) 100%
  );
  padding: 88px 0;
}

.statement-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-3);
  position: relative;
}

.statement-rule {
  width: 1px;
  height: 48px;
  background: var(--gold);
  margin: 0 auto 36px;
  opacity: 0.7;
}

.statement-quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
  quotes: "\201C" "\201D";
}

.statement-cite {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================================
   KEY ACHIEVEMENTS
   ============================================================ */
.achievements-section {
  background: var(--white);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achievement-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

/* Red top rule that extends on hover */
.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
  transition: width var(--transition);
}

.achievement-card:hover::before {
  width: 100%;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.achievement-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--navy);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.achievement-card:hover .achievement-icon-wrap {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.achievement-icon {
  width: 20px;
  height: 20px;
}

.achievement-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.achievement-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .achievement-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }
}

/* ============================================================
   PROJECTS — premium vertical tab layout
   ============================================================ */
.projects-section {
  background: var(--gray-light);
}

.projects-layout {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--white);
}

/* LEFT: Tab navigation */
.projects-tabs {
  flex: 0 0 260px;
  border-right: 1px solid var(--border);
  background: var(--gray-light);
  padding: var(--space-3) 0;
}

.vtab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  padding: 14px 20px 14px 18px;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-left-color var(--transition),
    color var(--transition);
}

.vtab-btn:hover {
  background: var(--gray-mid);
  border-left-color: var(--border-dark);
}

.vtab-btn.active {
  background: var(--white);
  border-left-color: var(--red);
}

.vtab-label {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.vtab-btn:hover .vtab-label,
.vtab-btn.active .vtab-label {
  color: var(--navy);
}

.vtab-btn.active .vtab-label {
  font-weight: 600;
  color: var(--red);
}

.vtab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--border);
  transition:
    background-color var(--transition),
    color var(--transition);
}

.vtab-btn.active .vtab-count {
  background: var(--red);
  color: var(--white);
}

/* RIGHT: Content area */
.projects-content {
  flex: 1;
  padding: 40px;
  min-width: 0;
}

.vtab-content {
  display: none;
}

.vtab-content.active {
  display: block;
  animation: fadeIn 0.3s var(--ease);
}

/* Peek animation — nudges the tab strip right on load to hint at more content */
@keyframes tabPeek {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(-40px); }
  60%  { transform: translateX(-24px); }
  100% { transform: translateX(0); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project category label */
.project-category {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* TIMELINE ITEMS — Research Papers */
.timeline-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 40px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: -40px;
  width: 1px;
  background: var(--border);
}

.timeline-item:last-child::after {
  display: none;
}

/* Deep red dot */
.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-card {
  display: flex;
  gap: 20px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  padding: 22px 22px;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-dark);
}

.timeline-thumb {
  flex: 0 0 90px;
}

.timeline-thumb img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.timeline-info {
  flex: 1;
  min-width: 0;
}

.timeline-info h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.timeline-info p {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 8px;
}

/* STANDARD PROJECT CARD — Blogs, Advocacy, etc. */
.project-card {
  display: flex;
  gap: 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  padding: 24px 22px;
  background: var(--white);
  margin-bottom: 20px;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-left-color var(--transition);
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: var(--red);
}

.project-thumb {
  flex: 0 0 90px;
}

.project-thumb img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.project-details {
  flex: 1;
  min-width: 0;
}

.project-details h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.project-details p {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 8px;
}

.project-skills {
  font-family: "Inter", sans-serif;
  font-size: 0.79rem;
  color: var(--text-light);
  margin: 0;
}

.project-skills strong {
  color: var(--navy);
  font-weight: 600;
}

/* PROJECTS RESPONSIVE */
@media (max-width: 992px) {
  .projects-layout {
    flex-direction: column;
    border: none;
    background: transparent;
  }

  .projects-tabs {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 2px solid var(--border);
    background: var(--white);
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Right-edge fade — tells users there are more tabs to scroll */
    -webkit-mask-image: linear-gradient(
      to right,
      #000 0%,
      #000 72%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 0%,
      #000 72%,
      transparent 100%
    );
    /* One-shot peek: plays once after 0.6 s, does not repeat */
    animation: tabPeek 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
  }

  .projects-tabs::-webkit-scrollbar {
    display: none;
  }

  .vtab-btn {
    /* Fixed width: keeps tabs uniform and ensures the last one
       is always partially clipped, signalling scrollability   */
    flex: 0 0 148px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 13px 16px;
    white-space: normal;      /* allow label to wrap if needed */
    background: none;
  }

  .vtab-btn:hover {
    background: var(--gray-light);
    border-left: none;
    border-bottom-color: var(--border-dark);
  }

  .vtab-btn.active {
    background: var(--gray-light);
    border-left: none;
    border-bottom-color: var(--red);
  }

  /* Count badge stays visible on mobile */
  .vtab-count {
    margin-left: 0;
  }

  .projects-content {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
  }

  .timeline-item {
    padding-left: 26px;
  }
  .timeline-marker {
    width: 10px;
    height: 10px;
  }
  .timeline-thumb img,
  .project-thumb img {
    width: 64px;
    height: 60px;
  }

  .project-card {
    flex-direction: column;
  }
  .timeline-card {
    flex-direction: column;
  }
  .timeline-thumb,
  .project-thumb {
    flex: 0 0 auto;
  }
  .timeline-thumb img,
  .project-thumb img {
    width: 100%;
    height: 140px;
  }
}

/* ============================================================
   EXPERIENCE TIMELINE — refined vertical chronology
   ============================================================ */
.experience-section {
  background: var(--white);
}

.exp-timeline {
  max-width: 800px;
  position: relative;
}

/* Continuous vertical line */
.exp-timeline::before {
  content: "";
  position: absolute;
  left: 116px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.exp-item {
  display: grid;
  grid-template-columns: 108px 32px 1fr;
  gap: 0 24px;
  margin-bottom: 52px;
  position: relative;
}

.exp-item--last {
  margin-bottom: 0;
}

.exp-meta {
  text-align: right;
  padding-top: 4px;
}

.exp-year {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-light);
  white-space: nowrap;
}

.exp-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.exp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.exp-body {
  padding-bottom: 8px;
}

.exp-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.exp-org {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.exp-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: var(--gray-mid);
  border: 1px solid var(--border);
  padding: 3px 10px;
}

@media (max-width: 700px) {
  .exp-timeline::before {
    display: none;
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    border-left: 2px solid var(--border);
    margin-bottom: 36px;
    position: relative;
  }

  .exp-meta {
    text-align: left;
    margin-bottom: 6px;
  }
  .exp-connector {
    display: none;
  }

  .exp-item::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--red);
  }
}

/* ============================================================
   RESUME / CTA SECTION
   ============================================================ */
.resume-section {
  background: var(--navy);
  background-image: linear-gradient(
    135deg,
    var(--navy-mid) 0%,
    var(--navy) 50%,
    var(--navy-dark) 100%
  );
  border-top: 4px solid var(--red);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative geometric background */
.resume-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.resume-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.resume-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.resume-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.resume-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 40px;
  font-weight: 300;
}

/* Button group */
.resume-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.resume-button {
  display: inline-block;
  padding: 15px 44px;
  background: var(--red);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.resume-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 8px 28px rgba(139, 30, 45, 0.45);
  transform: translateY(-2px);
  color: var(--white);
}

.resume-button-outline {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.resume-button-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--gray-light);
}

.contact-header {
  text-align: left;
  margin-bottom: var(--space-6);
}

.contact-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-top: 12px;
  max-width: 480px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* FORM PANEL */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  padding: 40px;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.07);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-button {
  margin-top: 28px;
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.contact-button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 6px 20px rgba(139, 30, 45, 0.36);
  transform: translateY(-1px);
}

/* INFO PANEL */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.contact-info-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info-header p {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  margin-bottom: 12px;
  transition:
    border-left-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.contact-card:last-child {
  margin-bottom: 0;
}

.contact-card:hover {
  border-left-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.contact-card-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border: 1px solid var(--border);
  color: var(--navy);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 16px;
  height: 16px;
}

.contact-card-body h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-card-body a {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.contact-card-body a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-info-header {
    flex: 0 0 100%;
  }

  .contact-card {
    flex: 1 1 240px;
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .contact-form-wrap {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info {
    flex-direction: column;
  }
  .contact-card {
    flex: 1 1 100%;
  }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.custom-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 0.825rem;
  border-top: 3px solid var(--red);
  letter-spacing: 0.01em;
}

/* ============================================================
   PRINT STYLES — clean output for PDF / print
   ============================================================ */
@media print {
  .credentials-strip,
  .statement-section,
  .hero-button-secondary,
  .resume-button-outline,
  .contact-form-wrap {
    display: none;
  }

  body {
    padding-top: 0;
    color: #000;
  }
  .hero-content-side {
    background: #0a1f44 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
