* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: #4a5568;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 16px 80px;
  letter-spacing: 0.02em;
}

/* Page Open Smooth Fade Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up-init {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Compact Container */
.container {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile Avatar */
.profile-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f3f4f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 18px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Profile Name & Subtitle */
.profile-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #1a202c;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: center;
}

.profile-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: #3d6d87;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 22px;
}

/* Social Action Icons */
.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.social-btn.whatsapp { background-color: #55c862; }
.social-btn.vimeo { background-color: #55bfe6; }
.social-btn.email { background-color: #e55c50; }

/* Navigation Accordion */
.nav-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main Pill Buttons */
.main-btn {
  width: 100%;
  max-width: 540px;
  background-color: #3d6d87;
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 26px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(61, 109, 135, 0.18);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.2s ease,
              box-shadow 0.2s ease;
}

.main-btn:hover {
  background-color: #32596e;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(61, 109, 135, 0.28);
}

.main-btn:active {
  transform: translateY(0);
}

/* Resume Pill Button */
.resume-btn {
  background-color: #588c7e;
  box-shadow: 0 3px 8px rgba(88, 140, 126, 0.22);
  width: 170px;
  max-width: 170px;
  margin-top: 6px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 10px 16px;
}

.resume-btn:hover {
  background-color: #487568;
  box-shadow: 0 6px 14px rgba(88, 140, 126, 0.32);
}

/* Accordion Smooth Expansion (CSS Grid Rows) */
.accordion-content {
  width: 100%;
  max-width: 540px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-content.open {
  grid-template-rows: 1fr;
}

.content-inner {
  overflow: hidden;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #4b5563;
  letter-spacing: 0.025em;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.35s ease;
  padding: 0 12px;
}

.content-inner strong {
  color: #2d3748;
  font-weight: 600;
}

.accordion-content.open .content-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 18px 12px 10px;
}

.skills-text {
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.85;
  letter-spacing: 0.025em;
  color: #4b5563;
  max-width: 520px;
  margin: 0 auto;
}

/* Sub Category Filter Pills */
.sub-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
}

.sub-btn {
  background-color: #588c7e;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.sub-btn:hover {
  background-color: #4b786c;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(88, 140, 126, 0.25);
}

.sub-btn.active {
  background-color: #3b685c;
  font-weight: 600;
}

/* Small Active Indicator Badge */
.active-badge {
  display: inline-block;
  background-color: #2d3d49;
  color: #ffffff;
  padding: 6px 30px;
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ============================================================
   1. FIXED SINGLE-COLUMN VERTICAL STACK (Films & Animation)
      Strict 16:9, rounded corners, clean control layout
============================================================ */
.fixed-grid-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 8px;
}

.grid-video-box {
  width: 100%;
  aspect-ratio: 16 / 9; /* Strictly 16:9 */
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.grid-video-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.grid-video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
  display: block;
}

/* HTML5 Video: Native Clean Controls (Play, Timeline, Volume only) */
.grid-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* ============================================================
   2. SLIDER LAYOUT (For Images: Branding, Fine Art, etc.)
============================================================ */
.slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 14px;
}

.slider-track {
  width: 100%;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide-item {
  flex: 0 0 calc(55% - 6px);
  width: calc(55% - 6px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 12px;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 6px; }
.arrow-right { right: 6px; }

/* Responsive Adjustments */
@media (max-width: 600px) {
  .sub-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slide-item {
    flex: 0 0 88%;
    width: 88%;
  }

  .fixed-grid-container {
    gap: 14px;
  }
}