/* ==========================================================================
   RANGGA NOER RACHMAN — EXECUTIVE LIGHT THEME DESIGN SYSTEM
   Balanced Typography Scale • Clean Minimalist Aesthetic • Recruiter-Optimized
   Hybrid Left-Sidebar & Mobile Navigation Architecture
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-subtle: #f8fafc;
  --bg-sidebar: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  --border-focus: #0f172a;

  --accent-dark: #0f172a;
  --accent-light: #ffffff;
  --accent-hover: #1e293b;
  --accent-soft: #f1f5f9;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);

  --sidebar-width: 300px;

  /* Template Overrides */
  --Primary: #0f172a !important;
  --Secondary: #f8fafc !important;
  --Text-body: #334155 !important;
  --Line: #e2e8f0 !important;
  --Text-5C5E61: #64748b !important;
}

/* Global Reset & Base Typography with Balanced Scale */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page) !important;
  color: var(--text-secondary) !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

#wrapper {
  background-color: var(--bg-page) !important;
  min-height: 100vh;
}

/* Selection */
::selection {
  background: #0f172a;
  color: #ffffff;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6,
.hero-title, .title-sld, .section-title, .heading-title {
  color: var(--text-primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
}

p, .desc, .font2, .text-body-color {
  color: var(--text-secondary) !important;
  line-height: 1.7;
  font-size: 0.95rem;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.text-highlight {
  color: var(--text-primary) !important;
  font-weight: 600;
}

.font-mono {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.01em;
}

/* Preloader Light */
.preloader {
  background-color: #ffffff !important;
}
.preloader .site-name {
  color: #0f172a !important;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.preloader .bar .inner-bar {
  background-color: #0f172a !important;
}

/* ==========================================================================
   HYBRID LAYOUT: DESKTOP SIDEBAR + MAIN CONTENT
   ========================================================================== */

.portfolio-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Desktop Fixed Left Sidebar */
.sidebar-desktop {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 1.6rem;
  z-index: 1000;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

.sidebar-desktop::-webkit-scrollbar {
  width: 4px;
}
.sidebar-desktop::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

/* Sidebar Profile Header */
.sidebar-profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-avatar-wrap {
  position: relative;
  width: 62px;
  height: 62px;
}

.sidebar-avatar {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.sidebar-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  background-color: #10b981;
  border: 2px solid var(--bg-sidebar);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.sidebar-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.sidebar-tagline {
  font-size: 0.78rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Sidebar Nav Menu */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.4rem 0;
  flex-grow: 1;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sidebar-nav-link .nav-indicator {
  width: 6px;
  height: 6px;
  background: var(--border-medium);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.sidebar-nav-link:hover {
  color: var(--text-primary);
  background: var(--accent-soft);
}

.sidebar-nav-link:hover .nav-indicator {
  background: var(--text-primary);
}

.sidebar-nav-link.active {
  color: var(--text-primary);
  background: var(--accent-soft);
  font-weight: 700;
}

.sidebar-nav-link.active .nav-indicator {
  width: 16px;
  height: 6px;
  border-radius: 4px;
  background: var(--text-primary);
}

/* Sidebar Footer & Actions */
.sidebar-footer {
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-cv-btn {
  width: 100%;
}

.sidebar-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.sidebar-social-icon {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.sidebar-social-icon:hover {
  color: var(--text-primary);
  background: var(--accent-soft);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */

.main-content-wrap {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  position: relative;
  background: var(--bg-page);
}

.content-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ==========================================================================
   MOBILE STICKY TOP HEADER (< 1200px)
   ========================================================================== */

.header-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  z-index: 999;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--border-medium);
}

.mobile-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mobile-sub {
  font-size: 0.74rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
}

.mobile-menu-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--accent-soft);
  border-color: var(--text-primary);
}

/* Mobile Offcanvas Menu */
.side-menu-mobile {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1050;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
}

.side-menu-mobile.active {
  right: 0;
}

.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-drawer-close:hover {
  color: var(--text-primary);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  display: block;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--text-primary);
  background: var(--accent-soft);
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */

.btn-bw-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-dark) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent-dark) !important;
  padding: 12px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.btn-bw-primary:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
  color: #ffffff !important;
}

.btn-bw-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff !important;
  color: var(--text-primary) !important;
  border: 1.5px solid var(--border-medium) !important;
  padding: 12px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.22s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn-bw-secondary:hover {
  background: var(--accent-soft) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-primary) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-executive-section {
  position: relative;
  padding: 4.8rem 0 3.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-glow-backdrop {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.03) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.hero-title-main {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title-gradient {
  color: #0f172a;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-portrait-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 832 / 1150;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-portrait-card:hover .hero-portrait-img {
  transform: scale(1.02);
}

.portrait-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
}

.portrait-floating-badge h5 {
  font-size: 1.05rem;
}

/* Fast Facts Metrics Bar */
.fast-facts-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 1.8rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.fact-item {
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  padding: 0 10px;
}

.fact-item:last-child {
  border-right: none;
}

.fact-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.fact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   INFINITY MARQUEE
   ========================================================================== */

.wrap-partner-infinity {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  overflow: hidden;
}

.marquee-bw-track {
  width: 100%;
  overflow: hidden;
}

.marquee-pill {
  display: inline-block;
  padding: 5px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.marquee-pill.highlight {
  color: var(--text-primary);
  font-weight: 800;
}

.marquee-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
  margin: 0 12px;
  vertical-align: middle;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */

.section-padding {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-heading-lg {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   02 — ABOUT & PILLARS
   ========================================================================== */

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  background: var(--bg-card);
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.pillar-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   03 — CORE COMPETENCIES
   ========================================================================== */

.competency-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

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

.competency-icon-box {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  border: 1.5px solid var(--border-medium);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.competency-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.competency-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.competency-item-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.competency-item-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.competency-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   04 — FEATURED CASE STUDIES
   ========================================================================== */

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img {
  transform: scale(1.04);
}

.case-badge-domain {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.case-content {
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-role-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.case-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.case-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.case-tech-chip {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 9px;
  background: var(--accent-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
}

.case-cta-row {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.btn-case-modal {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-case-modal:hover {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
}

/* ==========================================================================
   05 — CAREER EXPERIENCE TIMELINE
   ========================================================================== */

.timeline-track {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border-subtle);
}

.timeline-node {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.timeline-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.timeline-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
}

.timeline-period-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.timeline-company {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.timeline-company span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
}

.timeline-bullets {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.timeline-bullets li {
  margin-bottom: 0.5rem;
}

.timeline-bullets li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   08 — RECRUITER FAST-TRACK CARD
   ========================================================================== */

.recruiter-cta-card {
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: 18px;
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-md);
}

.contact-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.contact-quick-pill:hover {
  background: var(--accent-soft);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODAL CASE STUDY & TOAST
   ========================================================================== */

.modal-case-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.modal-case-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-case-dialog {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-case-body {
  padding: 1.8rem 1.6rem;
}

.modal-case-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.modal-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-section-content {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent-dark);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1199.98px) {
  .sidebar-desktop {
    display: none;
  }
  .main-content-wrap {
    margin-left: 0;
    width: 100%;
  }
  .header-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .content-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title-main {
    font-size: 2.3rem;
  }
  .fast-facts-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }
  .fact-item:nth-child(2) {
    border-right: none;
  }
  .section-heading-lg {
    font-size: 1.85rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title-main {
    font-size: 1.85rem;
  }
  .content-container {
    padding: 0 1rem;
  }
  .fast-facts-bar {
    grid-template-columns: 1fr;
  }
  .fact-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
  }
  .fact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-portrait-img {
    height: 280px;
  }
  .recruiter-cta-card {
    padding: 1.8rem 1.2rem;
  }
}
